haskellPackages.openapi3: hotfix

Updating this so that we go to an up to date and already tested
configuration of versions. Required by hercules-ci-api.
Part of the hercules-ci-cnix-* hotfix.
This commit is contained in:
Robert Hensing 2024-03-07 15:16:03 +01:00
parent 4890154f15
commit 0a87d8dbd9
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ mkDerivation, aeson, aeson-pretty, base, base-compat-batteries
, bytestring, Cabal, cabal-doctest, containers, cookie, doctest
, generics-sop, Glob, hashable, hspec, hspec-discover, http-media
, HUnit, insert-ordered-containers, lens, lib, mtl, optics-core
, optics-th, QuickCheck, quickcheck-instances, scientific
, template-haskell, text, time, transformers, unordered-containers
, utf8-string, uuid-types, vector
}:
mkDerivation {
pname = "openapi3";
version = "3.2.4";
sha256 = "dbcb90464b4712a03c37fa3fcaca3a6784ace2794d85730a8a8c5d9b3ea14ba0";
revision = "1";
editedCabalFile = "08ikd506fxz3pllg5w8lx9yn9qfqlx9il9xwzz7s17yxn5k3xmnk";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
aeson aeson-pretty base base-compat-batteries bytestring containers
cookie generics-sop hashable http-media insert-ordered-containers
lens mtl optics-core optics-th QuickCheck scientific
template-haskell text time transformers unordered-containers
uuid-types vector
];
executableHaskellDepends = [ aeson base lens text ];
testHaskellDepends = [
aeson base base-compat-batteries bytestring containers doctest Glob
hashable hspec HUnit insert-ordered-containers lens mtl QuickCheck
quickcheck-instances template-haskell text time
unordered-containers utf8-string vector
];
testToolDepends = [ hspec-discover ];
homepage = "https://github.com/biocad/openapi3";
description = "OpenAPI 3.0 data model";
license = lib.licenses.bsd3;
mainProgram = "example";
}

View File

@ -7,3 +7,4 @@ cabal2nix cabal://hercules-ci-api-core >hercules-ci-api-core.nix
cabal2nix cabal://hercules-ci-cli >hercules-ci-cli.nix
cabal2nix cabal://hercules-ci-cnix-expr >hercules-ci-cnix-expr.nix
cabal2nix cabal://hercules-ci-cnix-store >hercules-ci-cnix-store.nix
cabal2nix cabal://openapi3 >openapi3.nix

View File

@ -49,4 +49,5 @@ self: super: {
hercules-ci-cli = self.callPackage ./hotfixes/hercules-ci-cli.nix {};
hercules-ci-cnix-expr = self.callPackage ./hotfixes/hercules-ci-cnix-expr.nix {};
hercules-ci-cnix-store = self.callPackage ./hotfixes/hercules-ci-cnix-store.nix {};
openapi3 = self.callPackage ./hotfixes/openapi3.nix {};
}