Add nix dependencies

This commit is contained in:
Alessandro Marrella 2019-12-12 13:15:56 +00:00
parent a70334e45c
commit 72bc31ef6e
No known key found for this signature in database
GPG Key ID: A1550631FC3976D3
4 changed files with 63 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ swagger.json
/result
/result-*
tmp
crd.yaml

View File

@ -0,0 +1,28 @@
{ mkDerivation, aeson, base, base64-bytestring, bytestring
, case-insensitive, containers, deepseq, exceptions, hspec
, http-api-data, http-client, http-client-tls, http-media
, http-types, iso8601-time, katip, microlens, mtl, network
, QuickCheck, random, safe-exceptions, semigroups, stdenv, text
, time, transformers, unordered-containers, vector
}:
mkDerivation {
pname = "kubernetes-client-core";
version = "0.1.0.1";
sha256 = "535bf736d39ef30b7dae95d553d898e53ccb1218ccf61fcec5baeda412d35d23";
revision = "1";
editedCabalFile = "0qzh7zq36q57yfccna1izi1gz9fpki9ngnl8dgf3m6halrxwqlc7";
libraryHaskellDepends = [
aeson base base64-bytestring bytestring case-insensitive containers
deepseq exceptions http-api-data http-client http-client-tls
http-media http-types iso8601-time katip microlens mtl network
random safe-exceptions text time transformers unordered-containers
vector
];
testHaskellDepends = [
aeson base bytestring containers hspec iso8601-time mtl QuickCheck
semigroups text time transformers unordered-containers vector
];
homepage = "https://github.com/kubernetes-client/haskell";
description = "Auto-generated kubernetes-client-core API Client";
license = stdenv.lib.licenses.asl20;
}

View File

@ -30,6 +30,9 @@ let
generic-random =
haskellPackagesNew.callPackage ./generic-random-1.3.0.0.nix {};
kubernetes-client-core =
haskellPackagesNew.callPackage ./kubernetes-client-core-0.1.0.1.nix {};
megaparsec = haskellPackagesNew.callPackage ./megaparsec-7.0.2.nix {};
repline = haskellPackagesNew.callPackage ./repline-0.2.1.0.nix {};
@ -38,6 +41,9 @@ let
th-lift-instances =
haskellPackagesNew.callPackage ./th-lift-instances-0.1.14.nix {};
yaml =
haskellPackagesNew.callPackage ./yaml-0.11.2.0.nix {};
};
};
};

28
nix/yaml-0.11.2.0.nix Normal file
View File

@ -0,0 +1,28 @@
{ mkDerivation, aeson, attoparsec, base, base-compat, bytestring
, conduit, containers, directory, filepath, hspec, HUnit, libyaml
, mockery, mtl, raw-strings-qq, resourcet, scientific, stdenv
, template-haskell, temporary, text, transformers
, unordered-containers, vector
}:
mkDerivation {
pname = "yaml";
version = "0.11.2.0";
sha256 = "d1f2d2b2cc8db857d39baf30fb3eded2e0f49a4c138358367c4379bb04c3ba0c";
configureFlags = [ "-fsystem-libyaml" ];
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson attoparsec base bytestring conduit containers directory
filepath libyaml mtl resourcet scientific template-haskell text
transformers unordered-containers vector
];
testHaskellDepends = [
aeson attoparsec base base-compat bytestring conduit containers
directory filepath hspec HUnit libyaml mockery mtl raw-strings-qq
resourcet scientific template-haskell temporary text transformers
unordered-containers vector
];
homepage = "https://github.com/snoyberg/yaml#readme";
description = "Support for parsing and rendering YAML documents";
license = stdenv.lib.licenses.bsd3;
}