Merge pull request #74977 from marsam/add-nix-linter

nix-linter: init at 2019-04-26
This commit is contained in:
Maximilian Bosch 2019-12-04 22:31:45 +01:00 committed by GitHub
commit 1b66665b6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, mkDerivation
, fetchFromGitHub
, parallel-io
, fixplate
, pandoc
, tasty
, tasty-hunit
, tasty-th
, streamly
, mtl
, path-io
, path
, pretty-terminal
, text
, base
, aeson
, cmdargs
, containers
, hnix
, bytestring
}:
mkDerivation rec {
pname = "nix-linter-unstable";
version = "2019-04-26";
src = fetchFromGitHub {
owner = "Synthetica9";
repo = "nix-linter";
rev = "4aaf60195cd2d9f9e2345fbdf4aac48e1451292c";
sha256 = "0c7rcjaxd8z0grwambsw46snv7cg66h3pszw3549z4xz0i60yq87";
};
isLibrary = false;
isExecutable = true;
libraryHaskellDepends = [ parallel-io fixplate pandoc ];
executableHaskellDepends = [ streamly mtl path-io path pretty-terminal text base aeson cmdargs containers hnix bytestring ];
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 ];
}

View File

@ -24764,6 +24764,8 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
nix-linter = haskellPackages.callPackage ../development/tools/analysis/nix-linter { };
nix-pin = callPackage ../tools/package-management/nix-pin { };
nix-prefetch = callPackage ../tools/package-management/nix-prefetch { };