2014-09-17 07:54:51 +02:00
|
|
|
{ stdenv, cabal, async, hinotify, hfsevents, systemFileio, systemFilepath
|
|
|
|
, tasty, tastyHunit, temporaryRc, text, time
|
2013-02-24 22:09:07 +01:00
|
|
|
}:
|
2012-11-08 14:50:52 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "fsnotify";
|
2014-09-17 07:54:51 +02:00
|
|
|
version = "0.1.0.3";
|
|
|
|
sha256 = "0m6jyg45azk377jklgwyqrx95q174cxd5znpyh9azznkh09wq58z";
|
|
|
|
buildDepends = [ async systemFileio systemFilepath text time ] ++
|
2014-04-16 23:43:32 +02:00
|
|
|
(if stdenv.isDarwin then [ hfsevents ] else [ hinotify ]);
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2014-09-17 07:54:51 +02:00
|
|
|
async systemFileio systemFilepath tasty tastyHunit temporaryRc
|
|
|
|
];
|
2013-02-25 00:26:18 +01:00
|
|
|
doCheck = false;
|
2012-11-08 14:50:52 +01:00
|
|
|
meta = {
|
2013-04-24 11:18:25 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|