haskell-pandoc: use new editedCabalFile feature
This commit is contained in:
parent
232e90378f
commit
26bbbecae3
|
@ -9,19 +9,13 @@
|
|||
, tagsoup, temporary, testFramework, testFrameworkHunit
|
||||
, testFrameworkQuickcheck2, texmath, text, time
|
||||
, unorderedContainers, vector, xml, yaml, zipArchive, zlib
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
let
|
||||
editedCabalFile = fetchurl {
|
||||
url = "hackage.haskell.org/package/pandoc-1.13.1/pandoc.cabal";
|
||||
sha256 = "1i57yk1pql4gv97cs86fk82hkwncics1wkzjqd9iz866204y4wrg";
|
||||
};
|
||||
in
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "pandoc";
|
||||
version = "1.13.1";
|
||||
sha256 = "0vvysa70xp4pskxrvslmddwdsalc479zb8wn6z1vmpvfssvvj6vv";
|
||||
editedCabalFile = "1i57yk1pql4gv97cs86fk82hkwncics1wkzjqd9iz866204y4wrg";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
@ -38,7 +32,6 @@ cabal.mkDerivation (self: {
|
|||
pandocTypes QuickCheck syb testFramework testFrameworkHunit
|
||||
testFrameworkQuickcheck2 text zipArchive
|
||||
];
|
||||
preConfigure = "cp ${editedCabalFile} pandoc.cabal";
|
||||
configureFlags = "-fhttps -fmake-pandoc-man-pages";
|
||||
jailbreak = true;
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in New Issue