gamin: drop Python bindings
They are not compatible with Python 3, upstream as dead, and nothing uses the bindings any more. This is a progress in getting rid of Python 2 from closures of most people (samba, which depends on gamin shared library is common dependency).
This commit is contained in:
parent
7adbfb1220
commit
9d9a20fe1b
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, python, pkgconfig, glib }:
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, glib }:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "gamin-0.1.10";
|
||||
@ -10,13 +10,13 @@ stdenv.mkDerivation (rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ python glib ];
|
||||
buildInputs = [ glib ];
|
||||
|
||||
# `_GNU_SOURCE' is needed, e.g., to get `struct ucred' from
|
||||
# <sys/socket.h> with Glibc 2.9.
|
||||
configureFlags = [
|
||||
"--disable-debug"
|
||||
"--with-python=${python}"
|
||||
"--without-python" # python3 not supported
|
||||
"CPPFLAGS=-D_GNU_SOURCE"
|
||||
];
|
||||
|
||||
@ -44,4 +44,3 @@ stdenv.mkDerivation (rec {
|
||||
sed -i 's/,--version-script=.*$/\\/' libgamin/Makefile
|
||||
'';
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user