2016-12-12 19:40:23 +01:00
|
|
|
{ mkDerivation, base, bytestring, cereal, containers, deepseq
|
2017-07-18 03:42:35 +02:00
|
|
|
, fetchgit, filepath, haskell-src, mtl, optparse-generic, parsec
|
|
|
|
, parsers, pretty, pretty-show, proto3-wire, QuickCheck, safe
|
|
|
|
, semigroups, stdenv, 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-07-18 03:42:35 +02:00
|
|
|
url = "https://github.com/awakenetworks/proto3-suite";
|
|
|
|
sha256 = "1wqs209sfwjiwvpv8zz49jk9l6pivqz06r0m1rfxvsdmxh80kp7d";
|
|
|
|
rev = "48d452d42e8d73acfa88a56a54586d17bae711db";
|
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 = [
|
|
|
|
base bytestring cereal containers deepseq filepath haskell-src mtl
|
2017-07-18 03:42:35 +02:00
|
|
|
parsec parsers pretty pretty-show proto3-wire QuickCheck safe
|
|
|
|
semigroups text transformers vector
|
|
|
|
];
|
|
|
|
executableHaskellDepends = [
|
|
|
|
base optparse-generic system-filepath turtle
|
2016-12-12 19:40:23 +01:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
2017-07-18 03:42:35 +02:00
|
|
|
base bytestring cereal 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
|
|
|
}
|