summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-12-14 22:01:34 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-15 01:50:38 +0100
commit9d9a20fe1b058a0a4107c89421813dff2319f420 (patch)
treefa87608b945de9b200da0a215bc97f5c86244b9d
parent7adbfb1220e158cd62540b2137851f368dc15e77 (diff)
downloadnixpkgs-9d9a20fe1b058a0a4107c89421813dff2319f420.tar
nixpkgs-9d9a20fe1b058a0a4107c89421813dff2319f420.tar.gz
nixpkgs-9d9a20fe1b058a0a4107c89421813dff2319f420.tar.bz2
nixpkgs-9d9a20fe1b058a0a4107c89421813dff2319f420.tar.lz
nixpkgs-9d9a20fe1b058a0a4107c89421813dff2319f420.tar.xz
nixpkgs-9d9a20fe1b058a0a4107c89421813dff2319f420.tar.zst
nixpkgs-9d9a20fe1b058a0a4107c89421813dff2319f420.zip
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).
-rw-r--r--pkgs/development/libraries/gamin/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/libraries/gamin/default.nix b/pkgs/development/libraries/gamin/default.nix
index 4cff2245740..611c9faa851 100644
--- a/pkgs/development/libraries/gamin/default.nix
+++ b/pkgs/development/libraries/gamin/default.nix
@@ -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
   '';
 })
-