nixpkgs/pkgs/development/libraries/haskell/fsnotify/default.nix
Peter Simons 42db9ae872 haskell-fsnotify: disable 'doCheck' to avoid test suite failures
Test suite test: RUNNING...

canonicalizeDirPath
  - Absolute path keeps trailing slash FAILED [1]
  - Absolute path gains trailing slash FAILED [2]
  - Relative path keeps trailing slash
  - Relative path gains trailing slash

canonicalizePath
  - Absolute path keeps trailing slash FAILED [3]
  - Relative path keeps trailing slash

findFiles
  - Non-recursive
  - Recursive

findDirs
  - Non-recursive
  - Recursive

watchDir
  - Create file
  - Modify file
  - Remove file
  - Rename file
  - Debounce

watchDirChan
  - Create file
  - Modify file
  - Remove file
  - Rename file

watchTree
  - Create file (pre-existing directory)
  - Create file (create directory)
  - Modify file
  - Remove file
  - Rename file

watchTreeChan
  - Create file (pre-existing directory)
  - Create file (create directory)
  - Modify file
  - Remove file
  - Rename file

1) canonicalizeDirPath Absolute path keeps trailing slash FAILED (uncaught exception)
IOException (/home/: canonicalizePath: does not exist (No such file or directory))

2) canonicalizeDirPath Absolute path gains trailing slash FAILED (uncaught exception)
IOException (/home: canonicalizePath: does not exist (No such file or directory))

3) canonicalizePath Absolute path keeps trailing slash FAILED (uncaught exception)
IOException (/home/: canonicalizePath: does not exist (No such file or directory))

Finished in 37.1526 seconds
29 examples, 3 failures
Test suite test: FAIL
Test suite logged to: dist/test/fsnotify-0.0.6-test.log
2013-02-25 00:37:12 +01:00

21 lines
671 B
Nix

{ cabal, Cabal, Glob, hinotify, hspec, QuickCheck, random
, systemFileio, systemFilepath, text, time, uniqueid
}:
cabal.mkDerivation (self: {
pname = "fsnotify";
version = "0.0.6";
sha256 = "0ib6ansj3vaq9hxxbsq5jw14w2b61wp4jfahzb3c3x46mdb1bqw5";
buildDepends = [ hinotify systemFileio systemFilepath text time ];
testDepends = [
Cabal Glob hinotify hspec QuickCheck random systemFileio
systemFilepath text time uniqueid
];
doCheck = false;
meta = {
description = "Cross platform library for file creation, modification, and deletion notification";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})