2018-04-04 14:11:04 +00:00
|
|
|
{ mkDerivation, fetchFromGitHub
|
|
|
|
, aeson, aeson-pretty, attoparsec, base, bytestring, conduit, conduit-extra
|
|
|
|
, containers, exceptions, mtl, optparse-simple, parsec, scientific, stdenv
|
|
|
|
, text, unordered-containers, vector
|
|
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "jl";
|
2018-05-31 17:22:23 +00:00
|
|
|
version = "0.0.5";
|
2018-04-04 14:11:04 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chrisdone";
|
|
|
|
repo = "jl";
|
|
|
|
rev = "v${version}";
|
2018-05-31 17:22:23 +00:00
|
|
|
sha256 = "1hlnwsl4cj0l4x8dxwda2fcnk789cwlphl9gv9cfrivl43mgkgar";
|
2018-04-04 14:11:04 +00:00
|
|
|
};
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
|
|
|
aeson attoparsec base bytestring containers exceptions mtl parsec
|
|
|
|
scientific text unordered-containers vector
|
|
|
|
];
|
|
|
|
executableHaskellDepends = [
|
|
|
|
aeson aeson-pretty base bytestring conduit conduit-extra containers
|
|
|
|
mtl optparse-simple text vector
|
|
|
|
];
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
description = "Functional sed for JSON";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ fgaz ];
|
|
|
|
}
|