2014-04-16 23:43:32 +02:00
|
|
|
{ stdenv, cabal, Cabal, Glob, hspec, QuickCheck, random
|
2013-02-24 22:09:07 +01:00
|
|
|
, systemFileio, systemFilepath, text, time, uniqueid
|
2014-04-16 23:43:32 +02:00
|
|
|
, hinotify, hfsevents
|
2013-02-24 22:09:07 +01:00
|
|
|
}:
|
2012-11-08 14:50:52 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "fsnotify";
|
2013-04-24 11:18:25 +02:00
|
|
|
version = "0.0.11";
|
|
|
|
sha256 = "03m911pncyzgfdx4aj38azbbmj25fdm3s9l1w27zv0l730fy8ywq";
|
2014-04-16 23:43:32 +02:00
|
|
|
buildDepends = [ systemFileio systemFilepath text time ] ++
|
|
|
|
(if stdenv.isDarwin then [ hfsevents ] else [ hinotify ]);
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2014-04-16 23:43:32 +02:00
|
|
|
Cabal Glob hspec QuickCheck random systemFileio
|
2013-02-24 22:09:07 +01:00
|
|
|
systemFilepath text time uniqueid
|
2014-04-16 23:43:32 +02:00
|
|
|
] ++ (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 = {
|
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;
|
|
|
|
};
|
|
|
|
})
|