about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-18 00:30:38 +0100
committerGitHub <noreply@github.com>2021-01-18 00:30:38 +0100
commitd8736c215f62cb188f2e9677dc9cfe7d3bbad865 (patch)
tree46c7022262d19118c3fa81ca514c2e41484b9536 /pkgs/development/libraries
parent40952628a9f20728c3ec52e1f1503615bab93b52 (diff)
parent58899f1454bf9d43a647373e5a2b82eb186621d0 (diff)
downloadnixlib-d8736c215f62cb188f2e9677dc9cfe7d3bbad865.tar
nixlib-d8736c215f62cb188f2e9677dc9cfe7d3bbad865.tar.gz
nixlib-d8736c215f62cb188f2e9677dc9cfe7d3bbad865.tar.bz2
nixlib-d8736c215f62cb188f2e9677dc9cfe7d3bbad865.tar.lz
nixlib-d8736c215f62cb188f2e9677dc9cfe7d3bbad865.tar.xz
nixlib-d8736c215f62cb188f2e9677dc9cfe7d3bbad865.tar.zst
nixlib-d8736c215f62cb188f2e9677dc9cfe7d3bbad865.zip
Merge pull request #107644 from devhell/libstrophe
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libstrophe/default.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/libraries/libstrophe/default.nix b/pkgs/development/libraries/libstrophe/default.nix
index 0c7828c954f2..72cc24fcfdb7 100644
--- a/pkgs/development/libraries/libstrophe/default.nix
+++ b/pkgs/development/libraries/libstrophe/default.nix
@@ -1,11 +1,10 @@
 { stdenv
 , fetchFromGitHub
-, pkg-config
-, automake
-, autoconf
+, autoreconfHook
 , libtool
 , openssl
 , expat
+, pkg-config
 , check
 }:
 
@@ -17,16 +16,14 @@ stdenv.mkDerivation rec {
     owner = "strophe";
     repo = pname;
     rev = version;
-    sha256 = "sha256-6byg7hE0DN/cbf9NHpK/2DhXZyuelYAp+SA7vVUgo4U=";
+    sha256 = "11d341avsfr0z4lq15cy5dkmff6qpy91wkgzdpfdy31l27pa1g79";
   };
 
-  nativeBuildInputs = [ automake autoconf pkg-config libtool check ];
-  buildInputs = [ openssl expat ];
+  nativeBuildInputs = [ autoreconfHook pkg-config ];
+  buildInputs = [ openssl expat libtool check ];
 
   dontDisableStatic = true;
 
-  preConfigure = "mkdir m4 && sh bootstrap.sh";
-
   doCheck = true;
 
   meta = with stdenv.lib; {
@@ -37,8 +34,10 @@ stdenv.mkDerivation rec {
       runs well on both Linux, Unix, and Windows based platforms.
     '';
     homepage = "https://strophe.im/libstrophe/";
-    license = with licenses; [ gpl3 mit ];
+    license = with licenses; [ gpl3Only mit ];
     platforms = platforms.unix;
+    broken = stdenv.isDarwin;
     maintainers = with maintainers; [ devhell flosse ];
   };
 }
+