# 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 {}; stdenv.mkDerivation rec { version="2016-03-21"; 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 = "01v03f4fr3rynfrwqgpz5bxf5n1faz4px3hxvd0y73h74c76g5an"; }; installPhase = "cp -R . \$out"; meta = with stdenv.lib; { maintainers = [ "Jean-Pierre PRUNARET " ]; platforms = platforms.linux; }; }