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

43 lines
797 B
Nix
Raw Normal View History

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