From 47ca534deb502a8ddf50ca25014525787480492e Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sat, 16 Mar 2013 15:14:29 +0100 Subject: [PATCH] Add haskell-netwire --- .../libraries/haskell/netwire/default.nix | 18 ++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/haskell/netwire/default.nix diff --git a/pkgs/development/libraries/haskell/netwire/default.nix b/pkgs/development/libraries/haskell/netwire/default.nix new file mode 100644 index 000000000000..d7ab9539e0c8 --- /dev/null +++ b/pkgs/development/libraries/haskell/netwire/default.nix @@ -0,0 +1,18 @@ +{ cabal, bifunctors, deepseq, liftedBase, monadControl, mtl +, profunctors, random, semigroups, tagged, time, vectorSpace +}: + +cabal.mkDerivation (self: { + pname = "netwire"; + version = "4.0.7"; + sha256 = "035jz7j19c7n4za9xi8vj6yl9m2b2v6d53mp711gf8609wv0cx0c"; + buildDepends = [ + bifunctors deepseq liftedBase monadControl mtl profunctors random + semigroups tagged time vectorSpace + ]; + meta = { + description = "Flexible wire arrows for FRP"; + 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 4ffd314f3c99..1ca8d0b14c45 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1318,6 +1318,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); netlistToVhdl = callPackage ../development/libraries/haskell/netlist-to-vhdl {}; + netwire = callPackage ../development/libraries/haskell/netwire {}; + network_2_2_1_4 = callPackage ../development/libraries/haskell/network/2.2.1.4.nix {}; network_2_2_1_7 = callPackage ../development/libraries/haskell/network/2.2.1.7.nix {}; network_2_3_0_2 = callPackage ../development/libraries/haskell/network/2.3.0.2.nix {};