1{ lib, buildPythonPackage, fetchPypi, isPy27, six }:
2
3buildPythonPackage rec {
4 pname = "cfgv";
5 version = "3.2.0";
6 disabled = isPy27;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "cf22deb93d4bcf92f345a5c3cd39d3d41d6340adc60c78bbbd6588c384fda6a1";
11 };
12
13 propagatedBuildInputs = [ six ];
14
15 # Tests not included in PyPI tarball
16 doCheck = false;
17
18 meta = with lib; {
19 description = "Validate configuration and produce human readable error messages";
20 homepage = "https://github.com/asottile/cfgv";
21 license = licenses.mit;
22 };
23}