ajout de master pour le site de teleragno

master
Jean-Pierre PRUNARET 9 years ago
parent d8b20d6bf2
commit 20f91092e5

@ -0,0 +1,22 @@
# 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 {
version="master";
name = "github-teleragno-www-${version}";
# liste des fonction de récup : fetch* https://github.com/NixOS/nixpkgs/tree/master/pkgs/build-support
src = fetchurl {
url = "https://github.com/teleragno/teleragno.github.io/archive/${version}.tar.gz";
sha256 = "1lmbvqz9d2yjs5xwbx0h7pzq8sxw182fzcv6hsfma4dk970lkk88";
};
installPhase = "cp -R . \$out";
meta = with stdenv.lib; {
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
platforms = platforms.linux;
};
}

@ -14,7 +14,8 @@ with (import <nixpkgs/pkgs/top-level/release-lib.nix> { inherit supportedSystems
#jpierre03.osm2pgsql = import ./osm2pgsql.nix;
teleragno.www = import ./github-teleragno-www.nix;
teleragno.www.tag = import ./github-teleragno-www.nix;
teleragno.www.MASTER = import ./github-teleragno-www-MASTER.nix;
} /* // {
# Simply assign a derivation to an attribute to have it built.

Loading…
Cancel
Save