diff --git a/pkgs/development/libraries/haskell/permutation/default.nix b/pkgs/development/libraries/haskell/permutation/default.nix new file mode 100644 index 000000000000..e21a8993a97a --- /dev/null +++ b/pkgs/development/libraries/haskell/permutation/default.nix @@ -0,0 +1,17 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "permutation"; + version = "0.4.1"; + sha256 = "0fgw4ivs8sa18fyphwr3mzp2v7ha2nz2yf3a7jmz9ymqdf2xws97"; + meta = { + homepage = "http://stat.stanford.edu/~patperry/code/permutation"; + description = "A library for permutations and combinations"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 6df1eafe4afd..0d3d43ab64ce 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1099,6 +1099,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); pcreLight = callPackage ../development/libraries/haskell/pcre-light {}; + permutation = callPackage ../development/libraries/haskell/permutation {}; + persistent = callPackage ../development/libraries/haskell/persistent {}; persistentSqlite = callPackage ../development/libraries/haskell/persistent-sqlite {};