summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRyan Newton <rrnewton@gmail.com>2014-11-28 15:32:56 -0500
committerRyan Newton <rrnewton@gmail.com>2014-11-28 15:32:56 -0500
commitf5834013fc4f91ae2423a1c6760ff67cce892643 (patch)
tree6a8953a5e99eb1da880b3603310306538e5f2f4c /pkgs
parentc37611f3e5a35ecfa349362d432708176e1c6fb5 (diff)
downloadnixlib-f5834013fc4f91ae2423a1c6760ff67cce892643.tar
nixlib-f5834013fc4f91ae2423a1c6760ff67cce892643.tar.gz
nixlib-f5834013fc4f91ae2423a1c6760ff67cce892643.tar.bz2
nixlib-f5834013fc4f91ae2423a1c6760ff67cce892643.tar.lz
nixlib-f5834013fc4f91ae2423a1c6760ff67cce892643.tar.xz
nixlib-f5834013fc4f91ae2423a1c6760ff67cce892643.tar.zst
nixlib-f5834013fc4f91ae2423a1c6760ff67cce892643.zip
haskell: add thread-local-storage package
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/haskell/thread-local-storage/default.nix16
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/thread-local-storage/default.nix b/pkgs/development/libraries/haskell/thread-local-storage/default.nix
new file mode 100644
index 000000000000..5405f903e1de
--- /dev/null
+++ b/pkgs/development/libraries/haskell/thread-local-storage/default.nix
@@ -0,0 +1,16 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, atomicPrimops }:
+
+cabal.mkDerivation (self: {
+  pname = "thread-local-storage";
+  version = "0.1.0.3";
+  sha256 = "0ka6xrxzsw2z95qcc4v2hh4ldb22zkd5s62lns3v1853g4dw7k3l";
+  testDepends = [ atomicPrimops ];
+  doCheck = false;
+  meta = {
+    description = "Several options for thread-local-storage (TLS) in Haskell";
+    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 60a8813b3df2..c547384175e7 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -2553,6 +2553,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
 
   threads = callPackage ../development/libraries/haskell/threads {};
 
+  threadLocalStorage = callPackage ../development/libraries/haskell/thread-local-storage {};
+
   thReifyMany = callPackage ../development/libraries/haskell/th-reify-many {};
 
   Thrift = callPackage ../development/libraries/haskell/Thrift {};