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