nixpkgs/pkgs/data/misc/sound-theme-freedesktop/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
681 B
Nix

{ stdenv, fetchurl, intltool }:
stdenv.mkDerivation rec {
pname = "sound-theme-freedesktop";
version = "0.8";
src = fetchurl {
sha256 = "054abv4gmfk9maw93fis0bf605rc56dah7ys5plc4pphxqh8nlfb";
url = "https://people.freedesktop.org/~mccann/dist/${pname}-${version}.tar.bz2";
};
nativeBuildInputs = [ intltool ];
meta = with stdenv.lib; {
description = "Freedesktop reference sound theme";
homepage = http://freedesktop.org/wiki/Specifications/sound-theme-spec;
# See http://cgit.freedesktop.org/sound-theme-freedesktop/tree/CREDITS:
license = with licenses; [ cc-by-30 cc-by-sa-25 gpl2 gpl2Plus ];
platforms = with platforms; unix;
};
}