1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00
nixpkgs/pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix
worldofpeace 52fa0c2cc5 pantheon: use repoName
Now these expressions don't look so weird.
2019-08-05 18:41:32 -04:00

37 lines
785 B
Nix

{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig }:
stdenv.mkDerivation rec {
pname = "elementary-sound-theme";
version = "1.0";
repoName = "sound-theme";
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "1dc583lq61c361arjl3s44d2k72c46bqvcqv1c3s69f2ndsnxjdz";
};
passthru = {
updateScript = pantheon.updateScript {
inherit repoName;
attrPath = pname;
};
};
nativeBuildInputs = [
meson
ninja
pkgconfig
];
meta = with stdenv.lib; {
description = "A set of system sounds for elementary";
homepage = https://github.com/elementary/sound-theme;
license = licenses.unlicense;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}