mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
28 lines
903 B
Nix
28 lines
903 B
Nix
{ mkDerivation, aeson, base, binary, bytestring, containers
|
|
, directory, fetchgit, filepath, ghc-prim, hpack
|
|
, optparse-applicative, lib, text, unliftio
|
|
, unordered-containers
|
|
}:
|
|
mkDerivation {
|
|
pname = "elmi-to-json";
|
|
version = "1.3.0";
|
|
src = fetchgit {
|
|
url = "https://github.com/stoeffel/elmi-to-json";
|
|
sha256 = "11j56vcyhijkwi9hzggkwwmxlhzhgm67ab2m7kxkhcbbqgpasa8n";
|
|
rev = "ae40d1aa1e3d6878f2af514e611d44890e7abc1e";
|
|
fetchSubmodules = true;
|
|
};
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
aeson base binary bytestring containers directory filepath ghc-prim
|
|
optparse-applicative text unliftio unordered-containers
|
|
];
|
|
libraryToolDepends = [ hpack ];
|
|
executableHaskellDepends = [ base ];
|
|
testHaskellDepends = [ base ];
|
|
prePatch = "hpack";
|
|
homepage = "https://github.com/stoeffel/elmi-to-json#readme";
|
|
license = lib.licenses.bsd3;
|
|
}
|