Merge pull request #44239 from borisbabic/feature/init-pre-commit

gitAndTools.pre-commit: init at 1.10.4
This commit is contained in:
Robert Schütz
2018-07-31 14:35:33 +02:00
committed by GitHub
8 changed files with 130 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, pyyaml }:
buildPythonPackage rec {
pname = "aspy.yaml";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "1ajb97kn044ximkzq2090h4yblrhw77540pwiw345cp7mwzy4xqa";
};
propagatedBuildInputs = [ pyyaml ];
# Tests not included in PyPI tarball
doCheck = false;
meta = with lib; {
description = "A few extensions to pyyaml";
homepage = https://github.com/asottile/aspy.yaml;
license = licenses.mit;
};
}

View File

@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
pname = "cfgv";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1akm5xdbi5kckgnhhfj6qavjwakm44cwqzhfx2ycgh7mkym1qyfi";
};
propagatedBuildInputs = [ six ];
# Tests not included in PyPI tarball
doCheck = false;
meta = with lib; {
description = "Validate configuration and produce human readable error messages";
homepage = https://github.com/asottile/cfgv;
license = licenses.mit;
};
}

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "identify";
version = "1.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "0hvwfpf6fmgn93abrvj88pi7sbcib32s4c5r99lw67kbziq5x129";
};
# Tests not included in PyPI tarball
doCheck = false;
meta = with lib; {
description = "File identification library for Python";
homepage = https://github.com/chriskuehl/identify;
license = licenses.mit;
};
}

View File

@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "nodeenv";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "0vs9nyf9w3655j1vv3abxj4vbig61c0hjmhpfb91gblv32shl15a";
};
# Tests not included in PyPI tarball
doCheck = false;
meta = with lib; {
description = "Node.js virtual environment builder";
homepage = https://github.com/ekalinin/nodeenv;
license = licenses.bsd3;
};
}