Merge pull request #107644 from devhell/libstrophe
This commit is contained in:
commit
d8736c215f
|
@ -1,11 +1,10 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, autoreconfHook
|
||||||
, automake
|
|
||||||
, autoconf
|
|
||||||
, libtool
|
, libtool
|
||||||
, openssl
|
, openssl
|
||||||
, expat
|
, expat
|
||||||
|
, pkg-config
|
||||||
, check
|
, check
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -17,16 +16,14 @@ stdenv.mkDerivation rec {
|
||||||
owner = "strophe";
|
owner = "strophe";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-6byg7hE0DN/cbf9NHpK/2DhXZyuelYAp+SA7vVUgo4U=";
|
sha256 = "11d341avsfr0z4lq15cy5dkmff6qpy91wkgzdpfdy31l27pa1g79";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ automake autoconf pkg-config libtool check ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
buildInputs = [ openssl expat ];
|
buildInputs = [ openssl expat libtool check ];
|
||||||
|
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
|
|
||||||
preConfigure = "mkdir m4 && sh bootstrap.sh";
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -37,8 +34,10 @@ stdenv.mkDerivation rec {
|
||||||
runs well on both Linux, Unix, and Windows based platforms.
|
runs well on both Linux, Unix, and Windows based platforms.
|
||||||
'';
|
'';
|
||||||
homepage = "https://strophe.im/libstrophe/";
|
homepage = "https://strophe.im/libstrophe/";
|
||||||
license = with licenses; [ gpl3 mit ];
|
license = with licenses; [ gpl3Only mit ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
broken = stdenv.isDarwin;
|
||||||
maintainers = with maintainers; [ devhell flosse ];
|
maintainers = with maintainers; [ devhell flosse ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue