From 571881b6473d7d10426e1c56fdad0f4c1d87504f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 17 Sep 2013 15:31:35 +0200 Subject: [PATCH] haskellPackages: add list-tries --- .../libraries/haskell/list-tries/default.nix | 16 ++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/haskell/list-tries/default.nix diff --git a/pkgs/development/libraries/haskell/list-tries/default.nix b/pkgs/development/libraries/haskell/list-tries/default.nix new file mode 100644 index 00000000000..4eb91c67a47 --- /dev/null +++ b/pkgs/development/libraries/haskell/list-tries/default.nix @@ -0,0 +1,16 @@ +{ cabal, binary, dlist }: + +cabal.mkDerivation (self: { + pname = "list-tries"; + version = "0.5.1"; + sha256 = "15lbq41rikj5vm9gfgjxz98pamnib4dcs48fr2vm9r3s3fikd2kz"; + isLibrary = true; + isExecutable = true; + buildDepends = [ binary dlist ]; + meta = { + homepage = "http://iki.fi/matti.niemenmaa/list-tries/"; + description = "Tries and Patricia tries: finite sets and maps for list keys"; + 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 7bed1b651c0..f7a8742fdc9 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1390,6 +1390,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x List = callPackage ../development/libraries/haskell/List {}; + listTries = callPackage ../development/libraries/haskell/list-tries {}; + ListLike = callPackage ../development/libraries/haskell/ListLike {}; ListZipper = callPackage ../development/libraries/haskell/ListZipper {};