librem: 0.6.0 -> 1.0.0

This commit is contained in:
Enno Richter 2022-01-06 18:14:10 +01:00
parent cf53168416
commit e511e5a66c

View file

@ -1,12 +1,14 @@
{lib, stdenv, fetchurl, zlib, openssl, libre}: { lib, stdenv, fetchFromGitHub, zlib, openssl, libre }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.6.0"; version = "1.0.0";
pname = "librem"; pname = "librem";
src=fetchurl { src = fetchFromGitHub {
url = "http://www.creytiv.com/pub/rem-${version}.tar.gz"; owner = "baresip";
sha256 = "0b17wma5w9acizk02isk5k83vv47vf1cf9zkmsc1ail677d20xj1"; repo = "rem";
rev = "v${version}";
sha256 = "sha256-6Xe9zT0qLLGe1+QCQ9NALoDTaRhHpaTLbCbA+kV7hOA=";
}; };
buildInputs = [zlib openssl libre]; buildInputs = [ zlib openssl libre ];
makeFlags = [ makeFlags = [
"LIBRE_MK=${libre}/share/re/re.mk" "LIBRE_MK=${libre}/share/re/re.mk"
"LIBRE_INC=${libre}/include/re" "LIBRE_INC=${libre}/include/re"
@ -16,13 +18,9 @@ stdenv.mkDerivation rec {
++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${lib.getDev stdenv.cc.libc}" ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${lib.getDev stdenv.cc.libc}"
; ;
meta = { meta = {
description = " A library for real-time audio and video processing"; description = "A library for real-time audio and video processing";
homepage = "http://www.creytiv.com/rem.html"; homepage = "https://github.com/baresip/rem";
platforms = with lib.platforms; linux; maintainers = with lib.maintainers; [ elohmeier raskin ];
maintainers = with lib.maintainers; [raskin];
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
downloadPage = "http://www.creytiv.com/pub/";
updateWalker = true;
downloadURLRegexp = "/rem-.*[.]tar[.].*";
}; };
} }