2020-06-16 21:45:50 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, six }:
|
2018-07-31 00:02:53 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cfgv";
|
2020-06-06 07:47:00 +01:00
|
|
|
version = "3.1.0";
|
2020-06-16 21:45:50 +01:00
|
|
|
disabled = isPy27;
|
2018-07-31 00:02:53 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:00 +01:00
|
|
|
sha256 = "c8e8f552ffcc6194f4e18dd4f68d9aef0c0d58ae7e7be8c82bee3c5e9edfa513";
|
2018-07-31 00:02:53 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://github.com/asottile/cfgv";
|
2018-07-31 00:02:53 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|