diff --git a/default.nix b/default.nix index 0c9cc46..9043cbe 100644 --- a/default.nix +++ b/default.nix @@ -1,7 +1,7 @@ { 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 +, sorted-list, stdenv, stm, tasty, tasty-hunit, tasty-quickcheck +, text, time, transformers, turtle, unix, vector }: mkDerivation { pname = "grpc-haskell"; @@ -11,7 +11,8 @@ mkDerivation { isExecutable = true; libraryHaskellDepends = [ async base bytestring clock containers managed pipes proto3-wire - protobuf-wire safe stm tasty tasty-hunit transformers vector + protobuf-wire safe sorted-list stm tasty tasty-hunit transformers + vector ]; librarySystemDepends = [ grpc ]; libraryToolDepends = [ c2hs ]; @@ -21,7 +22,8 @@ mkDerivation { ]; testHaskellDepends = [ async base bytestring clock containers managed pipes protobuf-wire - safe tasty tasty-hunit text time transformers turtle unix + safe tasty tasty-hunit tasty-quickcheck text time transformers + turtle unix ]; homepage = "http://github.com/aloiscochard/grpc-haskell"; description = "Haskell implementation of gRPC layered on shared C library"; diff --git a/release.nix b/release.nix index 9da533d..a76e8b8 100644 --- a/release.nix +++ b/release.nix @@ -74,6 +74,18 @@ let grpc-haskell = haskellPackagesNew.callPackage ./default.nix { }; + + sorted-list = haskellPackagesNew.callPackage + ({ mkDerivation, base, deepseq }: + mkDerivation { + pname = "sorted-list"; + version = "0.2.0.0"; + sha256 = "cc52c787b056f4d3a9ecc59f06701695602558a4233042ff8f613cdd4985d138"; + libraryHaskellDepends = [ base deepseq ]; + homepage = "https://github.com/Daniel-Diaz/sorted-list/blob/master/README.md"; + description = "Type-enforced sorted lists and related functions"; + license = pkgs.stdenv.lib.licenses.bsd3; + }) {}; }; }; };