2019-12-04 09:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fixplate
|
|
|
|
, tasty
|
|
|
|
, tasty-hunit
|
|
|
|
, tasty-th
|
|
|
|
, streamly
|
|
|
|
, mtl
|
|
|
|
, path
|
|
|
|
, pretty-terminal
|
|
|
|
, text
|
|
|
|
, base
|
|
|
|
, aeson
|
2020-10-06 17:33:54 +00:00
|
|
|
, path-io
|
2019-12-04 09:20:00 +00:00
|
|
|
, cmdargs
|
|
|
|
, containers
|
|
|
|
, hnix
|
|
|
|
, bytestring
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
2021-07-18 09:40:50 +00:00
|
|
|
pname = "nix-linter";
|
2021-07-20 10:32:59 +00:00
|
|
|
version = "0.2.0.3";
|
2019-12-04 09:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Synthetica9";
|
|
|
|
repo = "nix-linter";
|
2021-07-20 10:32:59 +00:00
|
|
|
rev = "38c4a14681cf3a1e6f098d8b723db503910a28d8";
|
|
|
|
sha256 = "16igk4xnm4mg9mw0zg2zk6s44axia3fs6334fasvjy0c7cjwk4c7";
|
2019-12-04 09:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
2020-10-06 17:33:54 +00:00
|
|
|
libraryHaskellDepends = [ fixplate ];
|
|
|
|
executableHaskellDepends = [ streamly mtl path pretty-terminal text base aeson cmdargs containers hnix bytestring path-io ];
|
2019-12-04 09:20:00 +00:00
|
|
|
testHaskellDepends = [ tasty tasty-hunit tasty-th ];
|
|
|
|
|
|
|
|
description = "Linter for Nix(pkgs), based on hnix";
|
|
|
|
homepage = "https://github.com/Synthetica9/nix-linter";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.marsam ];
|
|
|
|
}
|