3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/cachix/cachix-api.nix

34 lines
1.4 KiB
Nix
Raw Normal View History

2019-03-05 03:59:51 +00:00
{ mkDerivation, aeson, base, base16-bytestring, bytestring, conduit
, cookie, cryptonite, deepseq, exceptions, hspec, hspec-discover
, http-api-data, http-media, lens, memory, protolude, resourcet
, servant, servant-auth, servant-auth-server, servant-auth-swagger
, servant-client, servant-swagger, servant-swagger-ui-core, stdenv
, string-conv, swagger2, text, transformers
}:
mkDerivation {
pname = "cachix-api";
version = "0.2.0";
sha256 = "73f27484d3748fe02ce834549dd3a04c92110390f7d9adb4c391bad2ececbef2";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base base16-bytestring bytestring conduit cookie cryptonite
deepseq exceptions http-api-data http-media lens memory resourcet
servant servant-auth servant-auth-server servant-auth-swagger
servant-client servant-swagger string-conv swagger2 text
transformers
];
executableHaskellDepends = [ aeson base ];
testHaskellDepends = [
aeson base base16-bytestring bytestring conduit cookie cryptonite
hspec http-api-data http-media lens memory protolude servant
servant-auth servant-auth-server servant-auth-swagger
servant-swagger servant-swagger-ui-core string-conv swagger2 text
transformers
];
testToolDepends = [ hspec-discover ];
homepage = "https://github.com/cachix/cachix#readme";
description = "Servant HTTP API specification for https://cachix.org";
license = stdenv.lib.licenses.asl20;
}