da8d48117f
partial fix for #38023
39 lines
1.6 KiB
Nix
39 lines
1.6 KiB
Nix
{ mkDerivation, aeson, aeson-pretty_0_7_2, ansi-wl-pprint, base, binary
|
|
, bytestring, containers, directory, edit-distance, elm-compiler
|
|
, fetchgit, fetchurl, filepath, HTTP, http-client, http-client-tls
|
|
, http-types, mtl, network, optparse-applicative, parallel-io
|
|
, pretty, stdenv, text, time, unordered-containers, vector
|
|
, zip-archive
|
|
}:
|
|
mkDerivation {
|
|
pname = "elm-package";
|
|
version = "0.18";
|
|
src = fetchgit {
|
|
url = "https://github.com/elm-lang/elm-package";
|
|
sha256 = "19krnkjvfk02gmmic5h5i1i0lw7s30927bnd5g57cj8nqbigysv7";
|
|
rev = "8bd150314bacab5b6fc451927aa01deec2276fbf";
|
|
};
|
|
patches = fetchurl {
|
|
url = https://github.com/jerith666/elm-package/commit/40bab60c2fbff70812cc24cdd97f5e09db3844ad.patch;
|
|
sha256 = "0j6pi6cv3h9s6vz68bh0c73fysvk83yhhk56kgshvnrmnpcb3jib";
|
|
};
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
aeson aeson-pretty_0_7_2 ansi-wl-pprint base binary bytestring containers
|
|
directory edit-distance elm-compiler filepath HTTP http-client
|
|
http-client-tls http-types mtl network parallel-io text time
|
|
unordered-containers vector zip-archive
|
|
];
|
|
executableHaskellDepends = [
|
|
aeson aeson-pretty_0_7_2 ansi-wl-pprint base binary bytestring containers
|
|
directory edit-distance elm-compiler filepath HTTP http-client
|
|
http-client-tls http-types mtl network optparse-applicative
|
|
parallel-io pretty text time unordered-containers vector
|
|
zip-archive
|
|
];
|
|
jailbreak = true;
|
|
homepage = https://github.com/elm-lang/elm-package;
|
|
description = "Package manager for Elm libraries";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
}
|