summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pysmf
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/python-modules/pysmf
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/python-modules/pysmf')
-rw-r--r--pkgs/development/python-modules/pysmf/default.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pysmf/default.nix b/pkgs/development/python-modules/pysmf/default.nix
index 25f5fc6a20ca..3b350954eae3 100644
--- a/pkgs/development/python-modules/pysmf/default.nix
+++ b/pkgs/development/python-modules/pysmf/default.nix
@@ -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,13 +9,17 @@ 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; {
homepage = "http://das.nasophon.de/pysmf/";
description = "Python extension module for reading and writing Standard MIDI Files, based on libsmf.";
license = licenses.bsd2;
- maintainers = [ maintainers.gnidorah ];
+ maintainers = [ ];
};
}