2020-06-15 15:56:04 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, six }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cfgv";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "3.2.0";
|
2020-06-15 15:56:04 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "cf22deb93d4bcf92f345a5c3cd39d3d41d6340adc60c78bbbd6588c384fda6a1";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|