diff --git a/.gitignore b/.gitignore index 6d25c6ca..df7b4f20 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ swagger.json /result /result-* tmp +crd.yaml \ No newline at end of file diff --git a/nix/kubernetes-client-core-0.1.0.1.nix b/nix/kubernetes-client-core-0.1.0.1.nix new file mode 100644 index 00000000..47c9d4b0 --- /dev/null +++ b/nix/kubernetes-client-core-0.1.0.1.nix @@ -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; +} diff --git a/nix/nixpkgs.nix b/nix/nixpkgs.nix index a17775a7..9e61af66 100644 --- a/nix/nixpkgs.nix +++ b/nix/nixpkgs.nix @@ -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 {}; }; }; }; diff --git a/nix/yaml-0.11.2.0.nix b/nix/yaml-0.11.2.0.nix new file mode 100644 index 00000000..f6a0cecb --- /dev/null +++ b/nix/yaml-0.11.2.0.nix @@ -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; +}