mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
haskell-packages.nix: added numtype and dimensional libraries
svn path=/nixpkgs/trunk/; revision=28131
This commit is contained in:
parent
451f7818a5
commit
857d2673ae
3 changed files with 29 additions and 0 deletions
13
pkgs/development/libraries/haskell/dimensional/default.nix
Normal file
13
pkgs/development/libraries/haskell/dimensional/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{cabal, numtype}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "dimensional";
|
||||
version = "0.10";
|
||||
sha256 = "5d0ab2a0ca566f7d9a4fe1ec180a1bcf4138a3647a2c287a908506c8911cd385";
|
||||
propagatedBuildInputs = [numtype];
|
||||
meta = {
|
||||
description = "library providing data types for performing arithmetic with physical quantities and units";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.simons];
|
||||
};
|
||||
})
|
12
pkgs/development/libraries/haskell/numtype/default.nix
Normal file
12
pkgs/development/libraries/haskell/numtype/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "numtype";
|
||||
version = "1.0";
|
||||
sha256 = "2606e81d7bcef0ba76b1e6ffc8d513c36fef5fefaab3bdd02da18761ec504e1f";
|
||||
meta = {
|
||||
description = "unary type level representations of the (positive and negative) integers";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.simons];
|
||||
};
|
||||
})
|
|
@ -442,6 +442,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
inherit (pkgs) zlib;
|
||||
};
|
||||
|
||||
dimensional = callPackage ../development/libraries/haskell/dimensional {};
|
||||
|
||||
directoryTree = callPackage ../development/libraries/haskell/directory-tree {};
|
||||
|
||||
dlist = callPackage ../development/libraries/haskell/dlist {};
|
||||
|
@ -754,6 +756,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
|
||||
numericPrelude = callPackage ../development/libraries/haskell/numeric-prelude {};
|
||||
|
||||
numtype = callPackage ../development/libraries/haskell/numtype {};
|
||||
|
||||
OneTuple = callPackage ../development/libraries/haskell/OneTuple {};
|
||||
|
||||
OpenAL = callPackage ../development/libraries/haskell/OpenAL {
|
||||
|
|
Loading…
Reference in a new issue