mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
23 lines
700 B
Nix
23 lines
700 B
Nix
{ cabal, attoparsec, cmdargs, filepath, haskellSrcExts, lens, mtl
|
|
, split, tasty, tastyGolden, text
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hsimport";
|
|
version = "0.2.6.8";
|
|
sha256 = "0brz7lxbnkwhjlbvs7xk3012mp9419v9wpczwa3nahl5afzbsp3i";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
attoparsec cmdargs haskellSrcExts lens mtl split text
|
|
];
|
|
testDepends = [ filepath tasty tastyGolden ];
|
|
doCheck = false;
|
|
meta = {
|
|
description = "A command line program for extending the import list of a Haskell source file";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
|
};
|
|
})
|