2017-11-02 21:36:57 +01:00
|
|
|
{ mkDerivation, aeson, aeson-pretty, attoparsec, base
|
2018-04-20 22:37:12 +02:00
|
|
|
, base64-bytestring, binary, bytestring, cereal, containers
|
2019-06-18 21:51:25 +02:00
|
|
|
, contravariant, deepseq, doctest, fetchgit, filepath, foldl
|
2019-08-20 17:47:32 +02:00
|
|
|
, generic-arbitrary, hashable, haskell-src
|
2022-02-25 23:23:22 +01:00
|
|
|
, insert-ordered-containers, lens, lib, mtl, neat-interpolation
|
2019-08-20 17:47:32 +02:00
|
|
|
, optparse-applicative, optparse-generic, parsec, parsers, pretty
|
|
|
|
, pretty-show, proto3-wire, QuickCheck, quickcheck-instances
|
2022-02-25 23:23:22 +01:00
|
|
|
, range-set-list, safe, swagger2, system-filepath, tasty
|
|
|
|
, tasty-hunit, tasty-quickcheck, text, time, transformers, turtle
|
|
|
|
, vector
|
2016-12-12 19:40:23 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
2017-02-27 17:43:37 +01:00
|
|
|
pname = "proto3-suite";
|
2022-02-25 23:23:22 +01:00
|
|
|
version = "0.4.3";
|
2016-12-12 19:40:23 +01:00
|
|
|
src = fetchgit {
|
2020-11-16 18:43:28 +01:00
|
|
|
url = "https://github.com/awakesecurity/proto3-suite.git";
|
2022-02-25 23:23:22 +01:00
|
|
|
sha256 = "0bjqczi6wddxv0n7qmfbrr19ajgq66xdkxx8vfcgbmv8ygma3vlw";
|
|
|
|
rev = "7af7d76dcf9cc71ddada3aa4a38abf46f65550ca";
|
2019-06-18 21:51:25 +02:00
|
|
|
fetchSubmodules = true;
|
2016-12-12 19:40:23 +01:00
|
|
|
};
|
2017-07-18 03:42:35 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2018-04-20 22:37:12 +02:00
|
|
|
enableSeparateDataOutput = true;
|
2016-12-12 19:40:23 +01:00
|
|
|
libraryHaskellDepends = [
|
2018-04-20 22:37:12 +02:00
|
|
|
aeson aeson-pretty attoparsec base base64-bytestring binary
|
2019-06-18 21:51:25 +02:00
|
|
|
bytestring cereal containers contravariant deepseq filepath foldl
|
|
|
|
hashable haskell-src insert-ordered-containers lens mtl
|
|
|
|
neat-interpolation parsec parsers pretty pretty-show proto3-wire
|
2020-11-16 18:43:28 +01:00
|
|
|
QuickCheck quickcheck-instances safe swagger2 system-filepath text
|
2022-02-25 23:23:22 +01:00
|
|
|
time transformers turtle vector
|
2017-07-18 03:42:35 +02:00
|
|
|
];
|
|
|
|
executableHaskellDepends = [
|
2019-06-18 21:51:25 +02:00
|
|
|
base containers mtl optparse-applicative optparse-generic
|
|
|
|
proto3-wire range-set-list system-filepath text turtle
|
2016-12-12 19:40:23 +01:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
2019-06-18 21:51:25 +02:00
|
|
|
aeson attoparsec base base64-bytestring bytestring cereal
|
2019-08-20 17:47:32 +02:00
|
|
|
containers deepseq doctest generic-arbitrary mtl pretty-show
|
2020-11-16 18:43:28 +01:00
|
|
|
proto3-wire QuickCheck swagger2 tasty tasty-hunit tasty-quickcheck
|
|
|
|
text transformers turtle vector
|
2016-12-12 19:40:23 +01:00
|
|
|
];
|
2022-02-25 23:23:22 +01:00
|
|
|
description = "A higher-level API to the proto3-wire library";
|
|
|
|
license = lib.licenses.asl20;
|
2016-12-12 19:40:23 +01:00
|
|
|
}
|