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