2017-11-02 21:36:57 +01:00
|
|
|
{ mkDerivation, aeson, aeson-pretty, attoparsec, base
|
|
|
|
, base64-bytestring, bytestring, cereal, containers, deepseq
|
|
|
|
, doctest, fetchgit, foldl, haskell-src, lens, mtl
|
|
|
|
, neat-interpolation, optparse-generic, parsec, parsers, pretty
|
|
|
|
, pretty-show, proto3-wire, QuickCheck, range-set-list, safe
|
|
|
|
, semigroups, stdenv, swagger2, system-filepath, tasty, tasty-hunit
|
|
|
|
, tasty-quickcheck, text, transformers, turtle, vector
|
2016-12-12 19:40:23 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
2017-02-27 17:43:37 +01:00
|
|
|
pname = "proto3-suite";
|
2016-12-12 19:40:23 +01:00
|
|
|
version = "0.1.0.0";
|
|
|
|
src = fetchgit {
|
2017-11-02 21:36:57 +01:00
|
|
|
url = "https://github.com/awakenetworks/proto3-suite";
|
|
|
|
sha256 = "076fh739580vp9h23d4zw3mddmd0md39c7k4x8macwy502wgdf1j";
|
|
|
|
rev = "97c4f66c8972416cca8b0bd1d9b307863bbc82e2";
|
2016-12-12 19:40:23 +01:00
|
|
|
};
|
2017-07-18 03:42:35 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2016-12-12 19:40:23 +01:00
|
|
|
libraryHaskellDepends = [
|
2017-11-02 21:36:57 +01:00
|
|
|
aeson aeson-pretty attoparsec base base64-bytestring bytestring
|
|
|
|
cereal containers deepseq foldl haskell-src lens mtl
|
|
|
|
neat-interpolation parsec parsers pretty pretty-show proto3-wire
|
|
|
|
QuickCheck safe semigroups swagger2 system-filepath text
|
|
|
|
transformers turtle vector
|
2017-07-18 03:42:35 +02:00
|
|
|
];
|
|
|
|
executableHaskellDepends = [
|
2017-08-19 16:16:10 +02:00
|
|
|
base containers optparse-generic proto3-wire range-set-list
|
|
|
|
system-filepath text turtle
|
2016-12-12 19:40:23 +01:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
2017-09-09 18:32:52 +02:00
|
|
|
aeson attoparsec base base64-bytestring bytestring cereal doctest
|
|
|
|
pretty-show proto3-wire QuickCheck semigroups tasty tasty-hunit
|
|
|
|
tasty-quickcheck text transformers turtle vector
|
2016-12-12 19:40:23 +01:00
|
|
|
];
|
|
|
|
description = "A low level library for writing out data in the Protocol Buffers wire format";
|
2017-02-27 17:43:37 +01:00
|
|
|
license = stdenv.lib.licenses.asl20;
|
2016-12-12 19:40:23 +01:00
|
|
|
}
|