blob: 7fa3c6465db40784e459f7c6ae4ab602fab17234 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 ];
};
}
|