From b2c97f6ca53dd123a1320ae0fd5052c8c2677920 Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Tue, 10 Sep 2013 16:06:56 +0200 Subject: [PATCH] Add statvfs haskell library --- .../libraries/haskell/statvfs/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/development/libraries/haskell/statvfs/default.nix diff --git a/pkgs/development/libraries/haskell/statvfs/default.nix b/pkgs/development/libraries/haskell/statvfs/default.nix new file mode 100644 index 000000000000..604edc831395 --- /dev/null +++ b/pkgs/development/libraries/haskell/statvfs/default.nix @@ -0,0 +1,12 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "statvfs"; + version = "0.1"; + sha256 = "1v45lx7wr27f5sx7cpfsapx1r6akgf1q3hpip1ibbsbhj65ws2r2"; + meta = { + description = "Get unix filesystem statistics with statfs, statvfs"; + 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 135e1b5660e4..7db23042dca3 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1857,6 +1857,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x statistics = callPackage ../development/libraries/haskell/statistics {}; + statvfs = callPackage ../development/libraries/haskell/statvfs {}; + StrafunskiStrategyLib = callPackage ../development/libraries/haskell/Strafunski-StrategyLib {}; streamproc = callPackage ../development/libraries/haskell/streamproc {};