From e5a33068801637cb22a6d3387fb22f26c0f5dbd7 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 23 Aug 2011 13:18:28 +0000 Subject: [PATCH] haskell-nixos-types: added version 1.0 svn path=/nixpkgs/trunk/; revision=28783 --- .../libraries/haskell/nixos-types/default.nix | 18 ++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/haskell/nixos-types/default.nix diff --git a/pkgs/development/libraries/haskell/nixos-types/default.nix b/pkgs/development/libraries/haskell/nixos-types/default.nix new file mode 100644 index 00000000000..edac925eb07 --- /dev/null +++ b/pkgs/development/libraries/haskell/nixos-types/default.nix @@ -0,0 +1,18 @@ +{ cabal, regexPosix }: + +cabal.mkDerivation (self: { + pname = "nixos-types"; + version = "1.0"; + sha256 = "0zg2vz790cacl1hlhzbfpb8zw5k19v4p43ynz1wdgg6sfzvwk43s"; + buildDepends = [ regexPosix ]; + meta = { + homepage = "http://github.com/haskell4nix/nixos-types"; + description = "Data types representing the Nix language"; + 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 5d7538a3bb9..5845c13fbec 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -881,6 +881,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); network_2_3_0_5 = callPackage ../development/libraries/haskell/network/2.3.0.5.nix {}; network = self.network_2_2_1_4; + nixosTypes = callPackage ../development/libraries/haskell/nixos-types {}; + nonNegative = callPackage ../development/libraries/haskell/non-negative {}; numericPrelude = callPackage ../development/libraries/haskell/numeric-prelude {};