diff options
Diffstat (limited to 'pkgs/development/tools/jl/default.nix')
-rw-r--r-- | pkgs/development/tools/jl/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/jl/default.nix b/pkgs/development/tools/jl/default.nix new file mode 100644 index 000000000000..ea6214284582 --- /dev/null +++ b/pkgs/development/tools/jl/default.nix @@ -0,0 +1,28 @@ +{ 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"; + version = "0.0.4"; + src = fetchFromGitHub { + owner = "chrisdone"; + repo = "jl"; + rev = "v${version}"; + sha256 = "0wsdfj4m729q0kjpkn0ywpncdhvpvvprd4rh45vcg6kjw20krm3r"; + }; + 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 ]; +} |