diff --git a/pkgs/development/libraries/haskell/linear/default.nix b/pkgs/development/libraries/haskell/linear/default.nix new file mode 100644 index 000000000000..ba0f2ce1a3a9 --- /dev/null +++ b/pkgs/development/libraries/haskell/linear/default.nix @@ -0,0 +1,21 @@ +{ cabal, distributive, doctest, filepath, hashable, lens +, reflection, semigroupoids, semigroups, simpleReflect, tagged +, transformers, unorderedContainers, vector +}: + +cabal.mkDerivation (self: { + pname = "linear"; + version = "1.2"; + sha256 = "0mna8k6plq0akki5j5zjk1xk1hgks1076q1h5s14v87d0h45wlrh"; + buildDepends = [ + distributive hashable reflection semigroupoids semigroups tagged + transformers unorderedContainers vector + ]; + testDepends = [ doctest filepath lens simpleReflect ]; + meta = { + homepage = "http://github.com/ekmett/linear/"; + description = "Linear Algebra"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 94f34bfd1fe1..e69c260c704c 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1350,6 +1350,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); liftedBase = callPackage ../development/libraries/haskell/lifted-base {}; + linear = callPackage ../development/libraries/haskell/linear {}; + List = callPackage ../development/libraries/haskell/List {}; ListLike = callPackage ../development/libraries/haskell/ListLike {};