nixpkgs/pkgs/development/compilers/elm/packages/elm-package.nix

40 lines
1.6 KiB
Nix
Raw Normal View History

{ mkDerivation, aeson, aeson-pretty_0_7_2, ansi-wl-pprint, base, binary
2016-07-15 23:11:41 +01:00
, bytestring, containers, directory, edit-distance, elm-compiler
, fetchgit, fetchurl, filepath, HTTP, http-client, http-client-tls
2016-07-15 23:11:41 +01:00
, http-types, mtl, network, optparse-applicative, parallel-io
, pretty, stdenv, text, time, unordered-containers, vector
, zip-archive
}:
mkDerivation {
pname = "elm-package";
2016-11-18 01:55:42 +00:00
version = "0.18";
src = fetchgit {
url = "https://github.com/elm-lang/elm-package";
2016-11-18 01:55:42 +00:00
sha256 = "19krnkjvfk02gmmic5h5i1i0lw7s30927bnd5g57cj8nqbigysv7";
rev = "8bd150314bacab5b6fc451927aa01deec2276fbf";
};
patches = fetchurl {
url = https://github.com/jerith666/elm-package/commit/40bab60c2fbff70812cc24cdd97f5e09db3844ad.patch;
sha256 = "0j6pi6cv3h9s6vz68bh0c73fysvk83yhhk56kgshvnrmnpcb3jib";
};
isLibrary = true;
isExecutable = true;
2015-11-20 17:14:49 +00:00
libraryHaskellDepends = [
aeson aeson-pretty_0_7_2 ansi-wl-pprint base binary bytestring containers
2016-07-15 23:11:41 +01:00
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
2015-11-20 17:14:49 +00:00
];
executableHaskellDepends = [
aeson aeson-pretty_0_7_2 ansi-wl-pprint base binary bytestring containers
2016-07-15 23:11:41 +01:00
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;
}