2020-06-16 20:45:50 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, six }:
|
2018-07-30 23:02:53 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cfgv";
|
2021-08-26 02:54:11 +00:00
|
|
|
version = "3.3.1";
|
2020-06-16 20:45:50 +00:00
|
|
|
disabled = isPy27;
|
2018-07-30 23:02:53 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 02:54:11 +00:00
|
|
|
sha256 = "f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736";
|
2018-07-30 23:02:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
# Tests not included in PyPI tarball
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Validate configuration and produce human readable error messages";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/asottile/cfgv";
|
2018-07-30 23:02:53 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|