mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
libmirage: 3.2.3 -> 3.2.5
This commit is contained in:
parent
067da6cc0b
commit
8d0364eeae
@ -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 ];
|
||||
|
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user