depot/third_party/nixpkgs/pkgs/development/python-modules/phx-class-registry/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
686 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27, pytestCheckHook }:
buildPythonPackage rec {
pname = "phx-class-registry";
version = "3.0.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "14iap8db2ldmnlf5kvxs52aps31rl98kpa5nq8wdm30a86n6457i";
};
checkInputs = [ pytestCheckHook ];
disabledTests = [
"test_branding"
"test_happy_path"
"test_len"
];
meta = with lib; {
description = "Registry pattern for Python classes, with setuptools entry points integration";
homepage = "https://github.com/todofixthis/class-registry";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}