mkjson: init at 0.4.0
This commit is contained in:
parent
686828e7d4
commit
9070ffe650
3 changed files with 48 additions and 0 deletions
46
pkgs/by-name/mk/mkjson/generated.nix
Normal file
46
pkgs/by-name/mk/mkjson/generated.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ mkDerivation, lib, fetchFromGitHub
|
||||
, aeson, base, bytestring, containers, criterion
|
||||
, doctest, Glob, mersenne-random-pure64, mtl
|
||||
, optparse-applicative, parsec, random, regex-tdfa, scientific
|
||||
, text, time, unordered-containers, uuid, vector
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "mkjson";
|
||||
version = "0.4.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mfussenegger";
|
||||
repo = "mkjson";
|
||||
rev = "${version}";
|
||||
hash = "sha256-+NDLFtsWWxHv/6XC9hJOAHPU6YED5oHqS/j5BPwNsqA=";
|
||||
};
|
||||
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson base bytestring containers mersenne-random-pure64 mtl
|
||||
optparse-applicative parsec random regex-tdfa scientific text time
|
||||
unordered-containers uuid vector
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
aeson base bytestring containers mersenne-random-pure64 mtl
|
||||
optparse-applicative parsec random regex-tdfa scientific text time
|
||||
unordered-containers uuid vector
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson base bytestring containers doctest Glob
|
||||
mersenne-random-pure64 mtl optparse-applicative parsec random
|
||||
regex-tdfa scientific text time unordered-containers uuid vector
|
||||
];
|
||||
benchmarkHaskellDepends = [
|
||||
aeson base bytestring containers criterion mersenne-random-pure64
|
||||
mtl optparse-applicative parsec random regex-tdfa scientific text
|
||||
time unordered-containers uuid vector
|
||||
];
|
||||
|
||||
description = "A commandline tool to generate static or random JSON records";
|
||||
homepage = "https://github.com/mfussenegger/mkjson";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ athas ];
|
||||
mainProgram = "mkjson";
|
||||
}
|
1
pkgs/by-name/mk/mkjson/package.nix
Normal file
1
pkgs/by-name/mk/mkjson/package.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{ haskell, haskellPackages }: haskell.lib.justStaticExecutables (haskellPackages.callPackage ./generated.nix { })
|
|
@ -319,6 +319,7 @@ let
|
|||
madlang
|
||||
mailctl
|
||||
matterhorn
|
||||
mkjson
|
||||
mueval
|
||||
naproche
|
||||
niv
|
||||
|
|
Loading…
Reference in a new issue