python3Packages.decopatch: init at 1.4.8
This commit is contained in:
parent
a9558a193b
commit
555d096920
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, makefun
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "decopatch";
|
||||
version = "1.4.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0i6i811s2j1z0cl6y177dwsbfxib8dvb5c2jpgklvc2xy4ahhsy6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ makefun ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "'pytest-runner', " ""
|
||||
'';
|
||||
|
||||
# Tests would introduce multiple cirucular dependencies
|
||||
# Affected: makefun, pytest-cases
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "decopatch" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python helper for decorators";
|
||||
homepage = "https://github.com/smarie/python-decopatch";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1733,6 +1733,8 @@ in {
|
|||
|
||||
decorator = callPackage ../development/python-modules/decorator { };
|
||||
|
||||
decopatch = callPackage ../development/python-modules/decopatch { };
|
||||
|
||||
deep_merge = callPackage ../development/python-modules/deep_merge { };
|
||||
|
||||
deepdiff = callPackage ../development/python-modules/deepdiff { };
|
||||
|
|
Loading…
Reference in New Issue