1{ lib, buildPythonPackage, fetchPypi, isPy27, six }:
2
3buildPythonPackage rec {
4 pname = "cfgv";
5 version = "3.3.1";
6 disabled = isPy27;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736";
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}