about summary refs log tree commit diff
path: root/pkgs/development/tools/analysis
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-12-04 04:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-12-04 04:20:00 -0500
commit4b83e3e8935a5fab99f07e9705b2bd7061b619ab (patch)
treecc2287de889e6ebb9b23e7296213ee3a8c49e485 /pkgs/development/tools/analysis
parentb6284fd70f7b4435b58fe7f97532454aa23de327 (diff)
downloadnixlib-4b83e3e8935a5fab99f07e9705b2bd7061b619ab.tar
nixlib-4b83e3e8935a5fab99f07e9705b2bd7061b619ab.tar.gz
nixlib-4b83e3e8935a5fab99f07e9705b2bd7061b619ab.tar.bz2
nixlib-4b83e3e8935a5fab99f07e9705b2bd7061b619ab.tar.lz
nixlib-4b83e3e8935a5fab99f07e9705b2bd7061b619ab.tar.xz
nixlib-4b83e3e8935a5fab99f07e9705b2bd7061b619ab.tar.zst
nixlib-4b83e3e8935a5fab99f07e9705b2bd7061b619ab.zip
nix-linter: init at 2019-04-26
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r--pkgs/development/tools/analysis/nix-linter/default.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/tools/analysis/nix-linter/default.nix b/pkgs/development/tools/analysis/nix-linter/default.nix
new file mode 100644
index 000000000000..5895be0208b5
--- /dev/null
+++ b/pkgs/development/tools/analysis/nix-linter/default.nix
@@ -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 ];
+}