nixpkgs/pkgs/development/python-modules/cfgv/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
562 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy27, six }:
2018-07-30 23:02:53 +00:00
buildPythonPackage rec {
pname = "cfgv";
2021-08-26 02:54:11 +00:00
version = "3.3.1";
disabled = isPy27;
2018-07-30 23:02:53 +00:00
src = fetchPypi {
inherit pname version;
2021-08-26 02:54:11 +00:00
sha256 = "f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736";
2018-07-30 23:02:53 +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";
2018-07-30 23:02:53 +00:00
license = licenses.mit;
};
}