09b71cf7a3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/jbake/versions. These checks were done: - built on NixOS - ran ‘/nix/store/l85kq1n5mv8shw19rd26vx1qh2q2xj98-jbake-2.6.1/bin/jbake -h’ got 0 exit code - ran ‘/nix/store/l85kq1n5mv8shw19rd26vx1qh2q2xj98-jbake-2.6.1/bin/jbake --help’ got 0 exit code - ran ‘/nix/store/l85kq1n5mv8shw19rd26vx1qh2q2xj98-jbake-2.6.1/bin/jbake help’ got 0 exit code - found 2.6.1 with grep in /nix/store/l85kq1n5mv8shw19rd26vx1qh2q2xj98-jbake-2.6.1 - directory tree listing: https://gist.github.com/27e3a60a9041b9898ce150344a6c3db4
26 lines
680 B
Nix
26 lines
680 B
Nix
{ stdenv, fetchzip, jre }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.6.1";
|
|
name = "jbake-${version}";
|
|
|
|
src = fetchzip {
|
|
url = "https://dl.bintray.com/jbake/binary/${name}-bin.zip";
|
|
sha256 = "0zlh2azmv8gj3c4d4ndivar31wd42nmvhxq6xhn09cib9kffxbc7";
|
|
};
|
|
|
|
buildInputs = [ jre ];
|
|
|
|
installPhase = ''
|
|
substituteInPlace bin/jbake --replace "java" "${jre}/bin/java"
|
|
mkdir -p $out
|
|
cp -vr * $out
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "JBake is a Java based, open source, static site/blog generator for developers & designers";
|
|
homepage = "https://jbake.org/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ moaxcp ];
|
|
};
|
|
}
|