2013-02-27 12:00:37 +01:00
|
|
|
{ cabal, Cabal, cmdargs, filepath, haskellSrcExts }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "packunused";
|
2013-10-13 12:41:31 +02:00
|
|
|
version = "0.1.0.1";
|
|
|
|
sha256 = "130717k4rknj5jl904cmb4h09msp4xjj84w6iwzc10lz736dk3jd";
|
2013-02-27 12:00:37 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ Cabal cmdargs filepath haskellSrcExts ];
|
2013-10-13 12:41:31 +02:00
|
|
|
jailbreak = true;
|
2013-02-27 12:00:37 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/hvr/packunused";
|
|
|
|
description = "Tool for detecting redundant Cabal package dependencies";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|