nixpkgs/pkgs/development/libraries/haskell/mono-traversable/default.nix

25 lines
889 B
Nix

{ cabal, comonad, dlist, dlistInstances, foldl, hashable, hspec
, QuickCheck, semigroupoids, semigroups, text, transformers
, unorderedContainers, vector, vectorAlgorithms, vectorInstances
}:
cabal.mkDerivation (self: {
pname = "mono-traversable";
version = "0.4.0.3";
sha256 = "04g2ihk4n71zrz09si2k8j46y53i5vllps9xizgs0bmikmrgh29f";
buildDepends = [
comonad dlist dlistInstances hashable semigroupoids semigroups text
transformers unorderedContainers vector vectorAlgorithms
vectorInstances
];
testDepends = [
foldl hspec QuickCheck semigroups text transformers
unorderedContainers vector
];
meta = {
homepage = "https://github.com/snoyberg/mono-traversable";
description = "Type classes for mapping, folding, and traversing monomorphic containers";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})