jbake: init at 2.5.1

This commit is contained in:
John Mercier 2017-12-26 20:06:19 -05:00 committed by Robin Gloster
parent 95fde40b71
commit 78d76e4b55
3 changed files with 30 additions and 0 deletions

View File

@ -434,6 +434,7 @@
mjanczyk = "Marcin Janczyk <m@dragonvr.pl>";
mjp = "Mike Playle <mike@mythik.co.uk>"; # github = "MikePlayle";
mlieberman85 = "Michael Lieberman <mlieberman85@gmail.com>";
moaxcp = "John Mercier <moaxcp@gmail.com>";
modulistic = "Pablo Costa <modulistic@gmail.com>";
mog = "Matthew O'Gorman <mog-lists@rldn.net>";
montag451 = "montag451 <montag451@laposte.net>";

View File

@ -0,0 +1,27 @@
{stdenv, fetchurl, unzip, jre, ...}:
stdenv.mkDerivation rec {
version = "2.5.1";
name = "jbake-${version}";
src = fetchurl {
url = "http://jbake.org/files/jbake-${version}-bin.zip";
sha256="1r46y84q5x915055hx2vxydaqng3cz0clwz0yhwapgmi4sliygjd";
};
buildInputs = [ unzip jre ];
unpackPhase = "unzip ${src}";
installPhase = ''
substituteInPlace $name/bin/jbake --replace "java" "${jre}/bin/java"
mkdir -p $out
cp -r $name/* $out
'';
meta = with stdenv; {
description = "JBake is a Java based, open source, static site/blog generator for developers & designers";
homepage = "http://jbake.org/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [moaxcp];
};
}

View File

@ -7500,6 +7500,8 @@ with pkgs;
jamomacore = callPackage ../development/libraries/audio/jamomacore { };
jbake = callPackage ../development/tools/jbake { };
jikespg = callPackage ../development/tools/parsing/jikespg { };
jenkins = callPackage ../development/tools/continuous-integration/jenkins { };