2016-08-04 17:08:32 +01:00
|
|
|
{ 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
|
2018-03-31 20:40:11 +01:00
|
|
|
, 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
|
2015-08-13 12:50:59 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "elm-package";
|
2016-11-18 01:55:42 +00:00
|
|
|
version = "0.18";
|
2015-08-13 12:50:59 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/elm-lang/elm-package";
|
2016-11-18 01:55:42 +00:00
|
|
|
sha256 = "19krnkjvfk02gmmic5h5i1i0lw7s30927bnd5g57cj8nqbigysv7";
|
|
|
|
rev = "8bd150314bacab5b6fc451927aa01deec2276fbf";
|
2015-08-13 12:50:59 +01:00
|
|
|
};
|
2018-03-31 20:40:11 +01:00
|
|
|
patches = fetchurl {
|
|
|
|
url = https://github.com/jerith666/elm-package/commit/40bab60c2fbff70812cc24cdd97f5e09db3844ad.patch;
|
|
|
|
sha256 = "0j6pi6cv3h9s6vz68bh0c73fysvk83yhhk56kgshvnrmnpcb3jib";
|
|
|
|
};
|
2015-08-13 12:50:59 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2015-11-20 17:14:49 +00:00
|
|
|
libraryHaskellDepends = [
|
2016-08-04 17:08:32 +01:00
|
|
|
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 = [
|
2016-08-04 17:08:32 +01:00
|
|
|
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
|
2015-08-13 12:50:59 +01:00
|
|
|
];
|
|
|
|
jailbreak = true;
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://github.com/elm-lang/elm-package;
|
2015-08-13 12:50:59 +01:00
|
|
|
description = "Package manager for Elm libraries";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
}
|