File tree Expand file tree Collapse file tree 1 file changed +23
-13
lines changed
pkgs/development/python-modules/py-stringmatching Expand file tree Collapse file tree 1 file changed +23
-13
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4- fetchPypi ,
4+ fetchFromGitHub ,
5+
6+ # build-system
7+ cython ,
58 setuptools ,
6- pytestCheckHook ,
7- numpy ,
8- pythonOlder ,
9+
10+ # dependencies
11+ numpy_1 ,
912 six ,
13+
14+ # tests
15+ pytestCheckHook ,
1016} :
1117
1218buildPythonPackage rec {
1319 pname = "py-stringmatching" ;
1420 version = "0.4.6" ;
15- pyproject = true ;
16-
17- disabled = pythonOlder "3.7" ;
1821
19- src = fetchPypi {
20- inherit pname version ;
21- hash = "sha256-XdHLHwT/sgHM+uQ4lxw9c+AcAdJjL6OVgfwtJkYLoBs=" ;
22+ src = fetchFromGitHub {
23+ owner = "anhaidgroup" ;
24+ repo = "py_stringmatching" ;
25+ tag = "v${ version } " ;
26+ hash = "sha256-gQiIIN0PeeM81ZHsognPFierf9ZXasq/JqxsYZmLAnU=" ;
2227 } ;
2328
24- nativeBuildInputs = [ setuptools ] ;
29+ pyproject = true ;
30+
31+ build-system = [
32+ setuptools
33+ cython
34+ ] ;
2535
26- propagatedBuildInputs = [
27- numpy
36+ dependencies = [
37+ numpy_1
2838 six
2939 ] ;
3040
You can’t perform that action at this time.
0 commit comments