forked from mirrors/nixpkgs
Merge pull request #133343 from fabaff/bump-class-registry
python3Packages.class-registry: 2.1.2 -> 3.0.5
This commit is contained in:
commit
e6f186cd95
|
@ -1,32 +1,32 @@
|
|||
{
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
lib,
|
||||
nose,
|
||||
six,
|
||||
typing ? null,
|
||||
isPy27,
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, nose
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "class-registry";
|
||||
version = "2.1.2";
|
||||
version = "3.0.5";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "todofixthis";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0gpvq4a6qrr2iki6b4vxarjr1jrsw560m2qzm5bb43ix8c8b7y3q";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ] ++ lib.optional isPy27 typing;
|
||||
checkInputs = [ nose ];
|
||||
checkInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
# Tests currently failing.
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "class_registry" ];
|
||||
|
||||
meta = {
|
||||
description = "Factory+Registry pattern for Python classes.";
|
||||
meta = with lib; {
|
||||
description = "Factory and registry pattern for Python classes";
|
||||
homepage = "https://class-registry.readthedocs.io/en/latest/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ kevincox ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kevincox ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue