ajout metadata + changement getchgit -< fetchurl pour les "master" -> bug a prévoir
This commit is contained in:
@@ -4,23 +4,22 @@
|
||||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "MASTER";
|
||||
version = "master";
|
||||
name = "blog-gallery-${version}";
|
||||
|
||||
#src = fetchTarball {
|
||||
# url = "https://gogs.prunetwork.fr/lothy/recette-cuisine/archive/master.tar.gz";
|
||||
#};
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://gogs.prunetwork.fr/lothy/recette-cuisine.git";
|
||||
src = fetchurl {
|
||||
url = "https://gogs.prunetwork.fr/lothy/recette-cuisine/archive/${version}.tar.gz";
|
||||
sha256 = "1kfjwx095hm80qzjvchnbikm3xc4j6vfzbnfc3yrrk2qc6lz0ghc";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.jekyll ];
|
||||
buildInputs = [ jekyll ];
|
||||
buildPhase = "jekyll build";
|
||||
installPhase = "cp -R _site \$out";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Site web de recette de cuisine";
|
||||
homepage = https://gogs.prunetwork.fr/lothy/recette-cuisine;
|
||||
license = licenses.cc-by-nc-sa-40;
|
||||
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
||||
version = "2016-07-22";
|
||||
name = "r6d-blog-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
src = fetchurl {
|
||||
url = "https://github.com/r6d/r6d.github.io.git";
|
||||
sha256 = "1pk8f4j6lbvljrb8k1j21j8k2mh9szqwysdgljh6p5i87sfk0l9b";
|
||||
};
|
||||
|
||||
@@ -4,10 +4,9 @@
|
||||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version="master";
|
||||
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";
|
||||
@@ -16,6 +15,9 @@ stdenv.mkDerivation rec {
|
||||
installPhase = "cp -R . \$out";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Site web de l'association Teleragno";
|
||||
homepage = https://www.teleragno.fr;
|
||||
license = licenses.cc-by-nc-sa-40;
|
||||
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
@@ -7,7 +7,6 @@ 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";
|
||||
@@ -16,6 +15,9 @@ stdenv.mkDerivation rec {
|
||||
installPhase = "cp -R . \$out";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Site web de l'association Teleragno";
|
||||
homepage = https://gogs.prunetwork.fr/jpierre03/gallery;
|
||||
license = licenses.cc-by-nc-sa-40;
|
||||
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
@@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
||||
installPhase = "cp -R . \$out";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Page d'accueil";
|
||||
homepage = https://gogs.prunetwork.fr/jpierre03/homepage;
|
||||
license = licenses.cc-by-nc-sa-40;
|
||||
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user