From 10feef08ae5859400a0adca9628b7783f7f56156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?James=20=E2=80=98Twey=E2=80=99=20Kay?= Date: Wed, 6 Aug 2014 21:43:10 +0100 Subject: [PATCH] Add derivation for Sodium (Haskell FRP library) --- .../libraries/haskell/sodium/default.nix | 15 +++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/haskell/sodium/default.nix diff --git a/pkgs/development/libraries/haskell/sodium/default.nix b/pkgs/development/libraries/haskell/sodium/default.nix new file mode 100644 index 000000000000..f27c5d0e51c0 --- /dev/null +++ b/pkgs/development/libraries/haskell/sodium/default.nix @@ -0,0 +1,15 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, mtl }: + +cabal.mkDerivation (self: { + pname = "sodium"; + version = "0.10.0.2"; + sha256 = "0rm1blh0br4gdnqb6ixvql6nrxzcjxjkwp4lmqmsisa2b68gbzqy"; + buildDepends = [ mtl ]; + meta = { + description = "Sodium Reactive Programming (FRP) System"; + 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 eccb9ceb5796..1a52b22d52e9 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2149,6 +2149,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in socketIo = callPackage ../development/libraries/haskell/socket-io {}; + sodium = callPackage ../development/libraries/haskell/sodium {}; + sparse = callPackage ../development/libraries/haskell/sparse {}; spawn = callPackage ../development/libraries/haskell/spawn {};