Delete default.nix.
It is generated and shouldn't be in repository.
This commit is contained in:
parent
ea96bc52e4
commit
bd3b7c2e2c
2 changed files with 1 additions and 56 deletions
2
Makefile
2
Makefile
|
@ -94,7 +94,7 @@ README.md: README.template MANUAL.txt tools/update-readme.lua
|
|||
default.nix: pandoc.cabal
|
||||
nix-shell --pure -p cabal2nix --run "cabal2nix ." > $@
|
||||
|
||||
nix-shell:
|
||||
nix-shell: default.nix
|
||||
nix-shell --attr env release.nix
|
||||
|
||||
download_stats:
|
||||
|
|
55
default.nix
55
default.nix
|
@ -1,55 +0,0 @@
|
|||
{ mkDerivation, aeson, aeson-pretty, attoparsec, base
|
||||
, base64-bytestring, binary, blaze-html, blaze-markup, bytestring
|
||||
, case-insensitive, citeproc, commonmark, commonmark-extensions
|
||||
, commonmark-pandoc, connection, containers, criterion
|
||||
, data-default, deepseq, Diff, directory, doclayout, doctemplates
|
||||
, emojis, exceptions, executable-path, file-embed, filepath, Glob
|
||||
, haddock-library, hslua, hslua-module-system, hslua-module-text
|
||||
, HsYAML, HTTP, http-client, http-client-tls, http-types, ipynb
|
||||
, jira-wiki-markup, JuicyPixels, mtl, network, network-uri
|
||||
, pandoc-types, parsec, process, QuickCheck, random, safe
|
||||
, scientific, SHA, skylighting, skylighting-core, split, stdenv
|
||||
, syb, tagsoup, tasty, tasty-golden, tasty-hunit, tasty-lua
|
||||
, tasty-quickcheck, temporary, texmath, text, text-conversions
|
||||
, time, unicode-transforms, unix, unordered-containers, weigh, xml
|
||||
, zip-archive, zlib
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "pandoc";
|
||||
version = "2.11.4";
|
||||
src = ./.;
|
||||
configureFlags = [ "-fhttps" "-f-trypandoc" ];
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
enableSeparateDataOutput = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson aeson-pretty attoparsec base base64-bytestring binary
|
||||
blaze-html blaze-markup bytestring case-insensitive citeproc
|
||||
commonmark commonmark-extensions commonmark-pandoc connection
|
||||
containers data-default deepseq directory doclayout doctemplates
|
||||
emojis exceptions file-embed filepath Glob haddock-library hslua
|
||||
hslua-module-system hslua-module-text HsYAML HTTP http-client
|
||||
http-client-tls http-types ipynb jira-wiki-markup JuicyPixels mtl
|
||||
network network-uri pandoc-types parsec process random safe
|
||||
scientific SHA skylighting skylighting-core split syb tagsoup
|
||||
temporary texmath text text-conversions time unicode-transforms
|
||||
unix unordered-containers xml zip-archive zlib
|
||||
];
|
||||
executableHaskellDepends = [ base ];
|
||||
testHaskellDepends = [
|
||||
base base64-bytestring bytestring containers Diff directory
|
||||
doctemplates exceptions executable-path filepath Glob hslua mtl
|
||||
pandoc-types process QuickCheck tasty tasty-golden tasty-hunit
|
||||
tasty-lua tasty-quickcheck temporary text time xml zip-archive
|
||||
];
|
||||
benchmarkHaskellDepends = [
|
||||
base bytestring containers criterion mtl text time weigh
|
||||
];
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/man/man1
|
||||
mv "man/"*.1 $out/share/man/man1/
|
||||
'';
|
||||
homepage = "https://pandoc.org";
|
||||
description = "Conversion between markup formats";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
}
|
Loading…
Reference in a new issue