diff --git a/pkgs/development/libraries/haskell/constraints/default.nix b/pkgs/development/libraries/haskell/constraints/default.nix new file mode 100644 index 000000000000..0fe2cb8864a6 --- /dev/null +++ b/pkgs/development/libraries/haskell/constraints/default.nix @@ -0,0 +1,15 @@ +{ cabal, newtype }: + +cabal.mkDerivation (self: { + pname = "constraints"; + version = "0.3.2"; + sha256 = "1fmjl6dh2iswvmq8r3izplp6zg9m8yq1c4rj0zpqjbv2iqsi4kl1"; + buildDepends = [ newtype ]; + meta = { + homepage = "http://github.com/ekmett/constraints/"; + description = "Constraint manipulation"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index d1a0262bc1c8..4ffd314f3c99 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -630,6 +630,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); configurator = callPackage ../development/libraries/haskell/configurator {}; + constraints = callPackage ../development/libraries/haskell/constraints {}; + convertible = callPackage ../development/libraries/haskell/convertible {}; continuedFractions = callPackage ../development/libraries/haskell/continued-fractions {};