2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fixplate
|
|
|
|
, tasty
|
|
|
|
, tasty-hunit
|
|
|
|
, tasty-th
|
|
|
|
, streamly
|
|
|
|
, mtl
|
|
|
|
, path
|
|
|
|
, pretty-terminal
|
|
|
|
, text
|
|
|
|
, base
|
|
|
|
, aeson
|
2020-10-07 09:15:18 +00:00
|
|
|
, path-io
|
2020-04-24 23:36:52 +00:00
|
|
|
, cmdargs
|
|
|
|
, containers
|
|
|
|
, hnix
|
|
|
|
, bytestring
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "nix-linter";
|
2022-04-03 18:54:34 +00:00
|
|
|
version = "0.2.0.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Synthetica9";
|
|
|
|
repo = "nix-linter";
|
2022-04-03 18:54:34 +00:00
|
|
|
rev = "ecdd50750fd3ffaff83c0637474b884a0c38f8b9";
|
|
|
|
sha256 = "0hm6iaamh1wlvqk8z4yfh4idgbclbsimxhlgflwz2hnv9mm12sf1";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
2020-10-07 09:15:18 +00:00
|
|
|
libraryHaskellDepends = [ fixplate ];
|
|
|
|
executableHaskellDepends = [ streamly mtl path pretty-terminal text base aeson cmdargs containers hnix bytestring path-io ];
|
2020-04-24 23:36:52 +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;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = [ ];
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
# doesn't build on ghc92
|
|
|
|
hydraPlatforms = lib.platforms.none;
|
|
|
|
broken = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|