From f2f0674c5b8741cc9ae6eac682ef64c0e6f25c88 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sat, 20 Jul 2013 10:56:51 +0200 Subject: [PATCH] Add haskell-qrencode --- .../libraries/haskell/qrencode/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/haskell/qrencode/default.nix diff --git a/pkgs/development/libraries/haskell/qrencode/default.nix b/pkgs/development/libraries/haskell/qrencode/default.nix new file mode 100644 index 000000000000..bd46bb9b4158 --- /dev/null +++ b/pkgs/development/libraries/haskell/qrencode/default.nix @@ -0,0 +1,14 @@ +{ cabal, qrencode }: + +cabal.mkDerivation (self: { + pname = "haskell-qrencode"; + version = "1.0.4"; + sha256 = "1cq6fpz4vsx1kfnxnxnqz0pi5nzfg86s76vd0hcqvyqxnqbcd8hj"; + extraLibraries = [ qrencode ]; + meta = { + homepage = "https://github.com/jamessanders/haskell-qrencode"; + description = "Haskell bindings for libqrencode"; + 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 bd7959463f37..7d48176f72d4 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1645,6 +1645,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); quickcheckIo = callPackage ../development/libraries/haskell/quickcheck-io {}; + qrencode = callPackage ../development/libraries/haskell/qrencode { + inherit (pkgs) qrencode; + }; + RangedSets = callPackage ../development/libraries/haskell/Ranged-sets {}; random_1_0_1_1 = callPackage ../development/libraries/haskell/random/1.0.1.1.nix {};