1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/haskell/zip-archive/default.nix
Peter Simons bc0ab2e595 haskell-zip-archive: disable 'doCheck' to avoid test suite failures
Test suite test-zip-archive: RUNNING...
Cases: 7  Tried: 1  Errors: 0  Failures: 0/bin/sh: /usr/bin/zip: No such file or directory
### Error in:   1
test-temp/test4.zip: openBinaryFile: does not exist (No such file or directory)
Cases: 7  Tried: 4  Errors: 1  Failures: 0  adding: LICENSE (deflated 46%)
  adding: Codec/ (stored 0%)
  adding: LICENSE (deflated 46%)
  adding: Codec/ (stored 0%)
  adding: Codec/Archive/ (stored 0%)
  adding: Codec/Archive/Zip.hs (deflated 74%)
Cases: 7  Tried: 6  Errors: 1  Failures: 0  creating: test-temp/dir1
extracting: test-temp/dir1/hi
  creating: test-temp/dir1/dir2
 inflating: test-temp/dir1/dir2/hello
Cases: 7  Tried: 7  Errors: 1  Failures: 0
Test suite test-zip-archive: FAIL
Test suite logged to: dist/test/zip-archive-0.1.3.3-test-zip-archive.log
0 of 1 test suites (0 of 1 test cases) passed.
2013-02-25 00:32:44 +01:00

22 lines
666 B
Nix

{ cabal, binary, digest, filepath, HUnit, mtl, time, utf8String
, zlib
}:
cabal.mkDerivation (self: {
pname = "zip-archive";
version = "0.1.3.3";
sha256 = "0zzps6s6lsv35qv1xx1fwipk2nwv255wpa956mvzbwdr47pgqjwi";
isLibrary = true;
isExecutable = true;
buildDepends = [ binary digest filepath mtl time utf8String zlib ];
testDepends = [ HUnit time ];
doCheck = false;
meta = {
homepage = "http://github.com/jgm/zip-archive";
description = "Library for creating and modifying zip archives";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})