mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
29 lines
922 B
Nix
29 lines
922 B
Nix
{ 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 ];
|
|
}
|