mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-30 06:59:43 +01:00
commit
d1bc87daa6
2 changed files with 33 additions and 4 deletions
29
default.nix
Normal file
29
default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ mkDerivation, async, base, bytestring, c2hs, clock, containers
|
||||||
|
, grpc, managed, pipes, proto3-wire, protobuf-wire, random, safe
|
||||||
|
, stdenv, stm, tasty, tasty-hunit, text, time, transformers, turtle
|
||||||
|
, unix, vector
|
||||||
|
}:
|
||||||
|
mkDerivation {
|
||||||
|
pname = "grpc-haskell";
|
||||||
|
version = "0.0.0.0";
|
||||||
|
src = ./.;
|
||||||
|
isLibrary = true;
|
||||||
|
isExecutable = true;
|
||||||
|
libraryHaskellDepends = [
|
||||||
|
async base bytestring clock containers managed pipes proto3-wire
|
||||||
|
protobuf-wire safe stm tasty tasty-hunit transformers vector
|
||||||
|
];
|
||||||
|
librarySystemDepends = [ grpc ];
|
||||||
|
libraryToolDepends = [ c2hs ];
|
||||||
|
executableHaskellDepends = [
|
||||||
|
async base bytestring containers proto3-wire protobuf-wire random
|
||||||
|
text transformers
|
||||||
|
];
|
||||||
|
testHaskellDepends = [
|
||||||
|
async base bytestring clock containers managed pipes protobuf-wire
|
||||||
|
safe tasty tasty-hunit text time transformers turtle unix
|
||||||
|
];
|
||||||
|
homepage = "http://github.com/aloiscochard/grpc-haskell";
|
||||||
|
description = "Haskell implementation of gRPC layered on shared C library";
|
||||||
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
}
|
|
@ -26,11 +26,11 @@ flag with-examples
|
||||||
library
|
library
|
||||||
build-depends:
|
build-depends:
|
||||||
base ==4.8.*
|
base ==4.8.*
|
||||||
, clock >=0.6.0 && <=0.7.2
|
, clock >=0.6.0 && <0.8.0
|
||||||
, bytestring ==0.10.*
|
, bytestring ==0.10.*
|
||||||
, stm == 2.4.*
|
, stm == 2.4.*
|
||||||
, containers ==0.5.*
|
, containers ==0.5.*
|
||||||
, managed >= 1.0.5 && < 1.1
|
, managed >= 1.0.0 && < 1.1
|
||||||
, pipes ==4.1.*
|
, pipes ==4.1.*
|
||||||
, transformers
|
, transformers
|
||||||
, proto3-wire
|
, proto3-wire
|
||||||
|
@ -176,12 +176,12 @@ test-suite test
|
||||||
, tasty >= 0.11 && <0.12
|
, tasty >= 0.11 && <0.12
|
||||||
, tasty-hunit >= 0.9 && <0.10
|
, tasty-hunit >= 0.9 && <0.10
|
||||||
, containers ==0.5.*
|
, containers ==0.5.*
|
||||||
, managed >= 1.0.5 && < 1.1
|
, managed >= 1.0.0 && < 1.1
|
||||||
, pipes ==4.1.*
|
, pipes ==4.1.*
|
||||||
, protobuf-wire
|
, protobuf-wire
|
||||||
, transformers
|
, transformers
|
||||||
, safe
|
, safe
|
||||||
, clock ==0.6.*
|
, clock >=0.6.0 && <0.8.0
|
||||||
, turtle >= 1.2.0
|
, turtle >= 1.2.0
|
||||||
, text
|
, text
|
||||||
other-modules:
|
other-modules:
|
||||||
|
|
Loading…
Reference in a new issue