nixpkgs/pkgs/development/libraries/haskell/fsnotify/default.nix

23 lines
770 B
Nix
Raw Normal View History

{ stdenv, cabal, Cabal, Glob, hspec, QuickCheck, random
, systemFileio, systemFilepath, text, time, uniqueid
, hinotify, hfsevents
}:
2012-11-08 14:50:52 +01:00
cabal.mkDerivation (self: {
pname = "fsnotify";
version = "0.0.11";
sha256 = "03m911pncyzgfdx4aj38azbbmj25fdm3s9l1w27zv0l730fy8ywq";
buildDepends = [ systemFileio systemFilepath text time ] ++
(if stdenv.isDarwin then [ hfsevents ] else [ hinotify ]);
testDepends = [
Cabal Glob hspec QuickCheck random systemFileio
systemFilepath text time uniqueid
] ++ (if stdenv.isDarwin then [ hfsevents ] else [ hinotify ]);
2013-02-25 00:26:18 +01:00
doCheck = false;
2012-11-08 14:50:52 +01:00
meta = {
description = "Cross platform library for file change notification";
2012-11-08 14:50:52 +01:00
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})