2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
23 lines
562 B
Nix
23 lines
562 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cfgv";
|
|
version = "3.1.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c8e8f552ffcc6194f4e18dd4f68d9aef0c0d58ae7e7be8c82bee3c5e9edfa513";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|