cholerab: don't use IFD
This commit is contained in:
parent
8f411d8c91
commit
2a40b6c342
@ -1,7 +1,16 @@
|
|||||||
{ fetchgit, callPackage }: let
|
{ stdenv, fetchFromGitHub, pandoc }:
|
||||||
src = fetchgit {
|
stdenv.mkDerivation {
|
||||||
url = "https://github.com/krebs/cholerab";
|
name = "cholerab";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "krebs";
|
||||||
|
repo = "cholerab";
|
||||||
rev = "25d7ef051d6fc74d99b155e768b3c650296a230c";
|
rev = "25d7ef051d6fc74d99b155e768b3c650296a230c";
|
||||||
sha256 = "1pymw7v2ql42iq825ccx98s4fp9jsz5b2hjr1qad6bamfc6i7yy9";
|
sha256 = "1pymw7v2ql42iq825ccx98s4fp9jsz5b2hjr1qad6bamfc6i7yy9";
|
||||||
};
|
};
|
||||||
in callPackage src {}
|
phases = [ "buildPhase" ];
|
||||||
|
buildPhase = ''
|
||||||
|
mkdir -p $out/share/man/man1
|
||||||
|
${pandoc}/bin/pandoc -s -t man $src/thesauron.md -o $out/share/man/man1/thesauron.1
|
||||||
|
${pandoc}/bin/pandoc -s -t man $src/enterprise-patterns.md -o $out/share/man/man1/enterprise-patterns.1
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user