nixpkgs/pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix

43 lines
798 B
Nix
Raw Normal View History

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