From 3c816fa6b1e71ddd97e2914750c9a12a86c43357 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 11:56:27 +0000 Subject: [PATCH] unagi-chan: init at 0.4.1.4 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/unagi-chan.nix | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 pkgs/unagi-chan.nix diff --git a/manifest.dhall b/manifest.dhall index c42ce323..f95755d9 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -573,6 +573,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/parsonsmatt/typerep-map" (Some "75b7cd5d45986be07420a6821d352ad2adc0b697") (None Text) + , callHackage "unagi-chan" "0.4.1.4" , callHackage "unicode-collation" "0.1.3.2" , callHackage "unicode-data" "0.4.0" , callHackage "unicode-transforms" "0.4.0.1" diff --git a/overlay.nix b/overlay.nix index faecff38..7c6568ad 100644 --- a/overlay.nix +++ b/overlay.nix @@ -761,6 +761,8 @@ final: prev: with pkgs.haskell.lib; { typerep-map = prev.callPackage (./pkgs/typerep-map.nix) { }; + unagi-chan = prev.callPackage (./pkgs/unagi-chan.nix) { }; + unicode-collation = prev.callPackage (./pkgs/unicode-collation.nix) { }; unicode-data = prev.callPackage (./pkgs/unicode-data.nix) { }; diff --git a/pkgs/unagi-chan.nix b/pkgs/unagi-chan.nix new file mode 100644 index 00000000..b438a4dc --- /dev/null +++ b/pkgs/unagi-chan.nix @@ -0,0 +1,37 @@ +{ mkDerivation +, async +, atomic-primops +, base +, containers +, criterion +, ghc-prim +, lib +, primitive +}: +mkDerivation { + pname = "unagi-chan"; + version = "0.4.1.4"; + sha256 = "d9d6f4ab07def8e84a942bb23791830a61faf89166cb7185a3b2f97cb45128b5"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ atomic-primops base ghc-prim primitive ]; + testHaskellDepends = [ + atomic-primops + base + containers + ghc-prim + primitive + ]; + benchmarkHaskellDepends = [ async base criterion ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "Fast concurrent queues with a Chan-like API, and more"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab