pythonPackages.pysmf: fix build with python 3.9
This commit is contained in:
parent
f49504d95f
commit
9eafeb243a
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pkg-config, libsmf, glib, pytest }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pkg-config, libsmf, glib, pytest, cython }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysmf";
|
||||
|
@ -9,7 +9,11 @@ buildPythonPackage rec {
|
|||
sha256 = "10i7vvvdx6c3gl4afsgnpdanwgzzag087zs0fxvfipnqknazj806";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config pytest ];
|
||||
postUnpack = ''
|
||||
rm $sourceRoot/src/smf.c
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config pytest cython ];
|
||||
buildInputs = [ libsmf glib ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue