2016-12-12 19:40:23 +01:00
|
|
|
{ mkDerivation, base, bytestring, cereal, containers, deepseq
|
2020-11-16 18:43:28 +01:00
|
|
|
, doctest, fetchgit, ghc-prim, hashable, parameterized, primitive
|
|
|
|
, QuickCheck, safe, stdenv, tasty, tasty-hunit, tasty-quickcheck
|
|
|
|
, text, transformers, unordered-containers, vector
|
2016-12-12 19:40:23 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "proto3-wire";
|
2020-11-16 18:43:28 +01:00
|
|
|
version = "1.2.0";
|
2016-12-12 19:40:23 +01:00
|
|
|
src = fetchgit {
|
2019-08-20 17:47:32 +02:00
|
|
|
url = "https://github.com/awakesecurity/proto3-wire.git";
|
2020-11-16 18:43:28 +01:00
|
|
|
sha256 = "062b05ab8icwjxaqrh3wmg8s26m620pigqj3dj6rdx9qas1cq6mi";
|
|
|
|
rev = "d92ec32ef0f15842b07fb226d8f2d15f36c5fb20";
|
2019-08-20 17:47:32 +02:00
|
|
|
fetchSubmodules = true;
|
2016-12-12 19:40:23 +01:00
|
|
|
};
|
|
|
|
libraryHaskellDepends = [
|
2020-11-16 18:43:28 +01:00
|
|
|
base bytestring cereal containers deepseq ghc-prim hashable
|
|
|
|
parameterized primitive QuickCheck safe text transformers
|
|
|
|
unordered-containers vector
|
2016-12-12 19:40:23 +01:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
2017-07-18 03:42:35 +02:00
|
|
|
base bytestring cereal doctest QuickCheck tasty tasty-hunit
|
2020-11-16 18:43:28 +01:00
|
|
|
tasty-quickcheck text transformers vector
|
2016-12-12 19:40:23 +01:00
|
|
|
];
|
|
|
|
description = "A low-level implementation of the Protocol Buffers (version 3) wire format";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
}
|