alsa-{oss,plugins}: use pname

This commit is contained in:
Bob van der Linden 2019-04-11 22:46:35 +02:00
parent fae2dc74a6
commit 8f6aa781e8
No known key found for this signature in database
GPG key ID: 2A90361F99CF1795
2 changed files with 4 additions and 4 deletions

View file

@ -1,11 +1,11 @@
{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate}:
stdenv.mkDerivation rec {
name = "alsa-oss-${version}";
pname = "alsa-oss";
version = "1.1.8";
src = fetchurl {
url = "mirror://alsa/oss-lib/${name}.tar.bz2";
url = "mirror://alsa/oss-lib/${pname}-${version}.tar.bz2";
sha256 = "13nn6n6wpr2sj1hyqx4r9nb9bwxnhnzw8r2f08p8v13yjbswxbb4";
};

View file

@ -1,11 +1,11 @@
{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }:
stdenv.mkDerivation rec {
name = "alsa-plugins-${version}";
pname = "alsa-plugins";
version = "1.1.8";
src = fetchurl {
url = "mirror://alsa/plugins/${name}.tar.bz2";
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
sha256 = "152r82i6f97gfilfgiax5prxkd4xlcipciv8ha8yrk452qbxyxvz";
};