gmpc.libmpd: rename name to pname&version

This commit is contained in:
Alexandre Iooss 2022-09-29 21:53:30 +02:00
parent a34c70c2a2
commit b368d66d75

View file

@ -24,9 +24,10 @@ stdenv.mkDerivation rec {
version = "11.8.16";
libmpd = stdenv.mkDerivation {
name = "libmpd-11.8.17";
pname = "libmpd";
version = "11.8.17";
src = fetchurl {
url = "http://download.sarine.nl/Programs/gmpc/11.8/libmpd-11.8.17.tar.gz";
url = "https://download.sarine.nl/Programs/gmpc/${lib.versions.majorMinor version}/libmpd-${version}.tar.gz";
sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y";
};
patches = [ ./libmpd-11.8.17-remove-strndup.patch ];