libmirage: 3.2.3 -> 3.2.5

This commit is contained in:
Alyssa Ross 2021-08-30 15:11:01 +00:00
parent 067da6cc0b
commit 8d0364eeae
2 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
{ pkgName, version, pkgSha256 }:
{ lib, stdenv, fetchurl, cmake, pkg-config, buildInputs, drvParams ? {} }:
let name = "${pkgName}-${version}";
ext = if lib.versionAtLeast version "3.2.5" then ".xz" else ".bz2";
in stdenv.mkDerivation ({
inherit name buildInputs;
src = fetchurl {
url = "mirror://sourceforge/cdemu/${name}.tar.bz2";
url = "mirror://sourceforge/cdemu/${name}.tar${ext}";
sha256 = pkgSha256;
};
nativeBuildInputs = [ pkg-config cmake ];
@ -29,7 +30,7 @@ in stdenv.mkDerivation ({
Optical media emulated by CDemu can be mounted within Linux. Automounting is also allowed.
'';
homepage = "http://cdemu.sourceforge.net/";
homepage = "https://cdemu.sourceforge.io/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ bendlas ];

View File

@ -3,9 +3,9 @@
, pcre, util-linux, libselinux, libsepol }:
let pkg = import ./base.nix {
version = "3.2.3";
version = "3.2.5";
pkgName = "libmirage";
pkgSha256 = "08mfvqyk3833ksfd47i4j3ppmrw5ry219km6h7lywdh9hm9x14yf";
pkgSha256 = "0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm";
};
in callPackage pkg {
buildInputs = [ glib libsndfile zlib bzip2 xz libsamplerate intltool ];