ajout metadata + changement getchgit -< fetchurl pour les "master" -> bug a prévoir
This commit is contained in:
@@ -4,23 +4,22 @@
|
|||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "MASTER";
|
version = "master";
|
||||||
name = "blog-gallery-${version}";
|
name = "blog-gallery-${version}";
|
||||||
|
|
||||||
#src = fetchTarball {
|
src = fetchurl {
|
||||||
# url = "https://gogs.prunetwork.fr/lothy/recette-cuisine/archive/master.tar.gz";
|
url = "https://gogs.prunetwork.fr/lothy/recette-cuisine/archive/${version}.tar.gz";
|
||||||
#};
|
|
||||||
|
|
||||||
src = fetchgit {
|
|
||||||
url = "https://gogs.prunetwork.fr/lothy/recette-cuisine.git";
|
|
||||||
sha256 = "1kfjwx095hm80qzjvchnbikm3xc4j6vfzbnfc3yrrk2qc6lz0ghc";
|
sha256 = "1kfjwx095hm80qzjvchnbikm3xc4j6vfzbnfc3yrrk2qc6lz0ghc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgs.jekyll ];
|
buildInputs = [ jekyll ];
|
||||||
buildPhase = "jekyll build";
|
buildPhase = "jekyll build";
|
||||||
installPhase = "cp -R _site \$out";
|
installPhase = "cp -R _site \$out";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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>" ];
|
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
|||||||
version = "2016-07-22";
|
version = "2016-07-22";
|
||||||
name = "r6d-blog-${version}";
|
name = "r6d-blog-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "https://github.com/r6d/r6d.github.io.git";
|
url = "https://github.com/r6d/r6d.github.io.git";
|
||||||
sha256 = "1pk8f4j6lbvljrb8k1j21j8k2mh9szqwysdgljh6p5i87sfk0l9b";
|
sha256 = "1pk8f4j6lbvljrb8k1j21j8k2mh9szqwysdgljh6p5i87sfk0l9b";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,10 +4,9 @@
|
|||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version="master";
|
version = "master";
|
||||||
name = "github-teleragno-www-${version}";
|
name = "github-teleragno-www-${version}";
|
||||||
|
|
||||||
# liste des fonction de récup : fetch* https://github.com/NixOS/nixpkgs/tree/master/pkgs/build-support
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/teleragno/teleragno.github.io/archive/${version}.tar.gz";
|
url = "https://github.com/teleragno/teleragno.github.io/archive/${version}.tar.gz";
|
||||||
sha256 = "1lmbvqz9d2yjs5xwbx0h7pzq8sxw182fzcv6hsfma4dk970lkk88";
|
sha256 = "1lmbvqz9d2yjs5xwbx0h7pzq8sxw182fzcv6hsfma4dk970lkk88";
|
||||||
@@ -16,6 +15,9 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = "cp -R . \$out";
|
installPhase = "cp -R . \$out";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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>" ];
|
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ stdenv.mkDerivation rec {
|
|||||||
version="2016-03-21";
|
version="2016-03-21";
|
||||||
name = "github-teleragno-www-${version}";
|
name = "github-teleragno-www-${version}";
|
||||||
|
|
||||||
# liste des fonction de récup : fetch* https://github.com/NixOS/nixpkgs/tree/master/pkgs/build-support
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/teleragno/teleragno.github.io/archive/${version}.tar.gz";
|
url = "https://github.com/teleragno/teleragno.github.io/archive/${version}.tar.gz";
|
||||||
sha256 = "01v03f4fr3rynfrwqgpz5bxf5n1faz4px3hxvd0y73h74c76g5an";
|
sha256 = "01v03f4fr3rynfrwqgpz5bxf5n1faz4px3hxvd0y73h74c76g5an";
|
||||||
@@ -16,6 +15,9 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = "cp -R . \$out";
|
installPhase = "cp -R . \$out";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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>" ];
|
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = "cp -R . \$out";
|
installPhase = "cp -R . \$out";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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>" ];
|
maintainers = [ "Jean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr>" ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user