We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45e7b04 + 77b2788 commit e4bf30fCopy full SHA for e4bf30f
pkgs/development/python-modules/gpgme/default.nix
@@ -1,4 +1,5 @@
1
{
2
+ autoreconfHook,
3
buildPythonPackage,
4
gpgme,
5
lib,
@@ -17,7 +18,8 @@ buildPythonPackage {
17
18
19
postPatch = ''
20
substituteInPlace lang/python/setup.py.in \
- --replace-fail "gpgme_h = '''" "gpgme_h = '${lib.getDev gpgme}/include/gpgme.h'"
21
+ --replace-fail "gpgme_h = '''" "gpgme_h = '${lib.getDev gpgme}/include/gpgme.h'" \
22
+ --replace-fail "@VERSION@" "${gpgme.version}"
23
'';
24
25
configureFlags = gpgme.configureFlags ++ [
@@ -35,6 +37,7 @@ buildPythonPackage {
35
37
build-system = [ setuptools ];
36
38
39
nativeBuildInputs = [
40
+ autoreconfHook
41
swig
42
];
43
0 commit comments