3
0
Fork 0
forked from mirrors/nixpkgs

xmp: 4.1.0 -> 4.2.0

This commit is contained in:
Misty De Meo 2023-06-16 16:10:08 -07:00
parent ff967e826f
commit a0bc947540
No known key found for this signature in database
GPG key ID: 76CF846A2F674B2C

View file

@ -1,15 +1,17 @@
{ lib, stdenv, fetchurl, pkg-config, alsa-lib, libxmp, AudioUnit, CoreAudio }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, alsa-lib, libxmp, AudioUnit, CoreAudio }:
stdenv.mkDerivation rec {
pname = "xmp";
version = "4.1.0";
version = "4.2.0";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}/${pname}-${version}.tar.gz";
sha256 = "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x";
src = fetchFromGitHub {
owner = "libxmp";
repo = "xmp-cli";
rev = "${pname}-${version}";
hash = "sha256-037k1rFjGR6XFtr08bzs4zVz+GyUGuuutuWFlNEuATA=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libxmp ]
++ lib.optionals stdenv.isLinux [ alsa-lib ]
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio ];