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.
26 lines
899 B
Nix
26 lines
899 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 {
|
||
|
version="2016-10-20-v2";
|
||
|
name = "gogs-jpierre03-homepage-${version}";
|
||
|
|
||
|
# liste des fonction de récup : fetch* https://github.com/NixOS/nixpkgs/tree/master/pkgs/build-support
|
||
9 years ago
|
src = fetchurl {
|
||
|
url = "https://gogs.prunetwork.fr/jpierre03/homepage/archive/${version}.tar.gz";
|
||
|
sha256 = "08h6jg7pmxp3wh5dbhds6ky0i85li8c2slfa3h7fcpdyk4pvqm8r";
|
||
9 years ago
|
};
|
||
|
|
||
|
installPhase = "cp -R . \$out";
|
||
9 years ago
|
|
||
|
meta = with stdenv.lib; {
|
||
9 years ago
|
description = "Page d'accueil";
|
||
|
homepage = https://gogs.prunetwork.fr/jpierre03/homepage;
|
||
|
license = licenses.cc-by-nc-sa-40;
|
||
9 years ago
|
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
9 years ago
|
}
|