You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
745 B
Nix
23 lines
745 B
Nix
9 years ago
|
# https://www.mpscholten.de/nixos/2016/07/07/private-github-repositories-and-nixos.html
|
||
|
# https://nixos.org/wiki/FAQ#How_do_I_know_the_sha256_to_use_with_fetchgit.3F
|
||
|
|
||
|
with import <nixpkgs> {};
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
8 years ago
|
version="MASTER";
|
||
9 years ago
|
name = "openlayer-simplemap-blog-${version}";
|
||
|
|
||
|
# liste des fonction de récup : fetch* https://github.com/NixOS/nixpkgs/tree/master/pkgs/build-support
|
||
8 years ago
|
src = fetchgit {
|
||
|
url = "https://gogs.prunetwork.fr/jpierre03/openlayer-simplemap.git";
|
||
9 years ago
|
sha256 = "0z7b2rc2xrwrkgsdf8nc9azbqhvf062xf6ad8clrmgn1lax9zki4";
|
||
9 years ago
|
};
|
||
|
|
||
|
installPhase = "cp -R . \$out";
|
||
9 years ago
|
|
||
|
meta = with stdenv.lib; {
|
||
|
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
9 years ago
|
}
|