2021-11-26 08:51:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-08-05 19:02:06 +01:00
|
|
|
, fetchFromGitHub
|
2020-07-29 17:33:39 +01:00
|
|
|
, nix-update-script
|
2019-08-05 19:02:06 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2019-08-05 19:02:06 +01:00
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-05 23:41:32 +01:00
|
|
|
pname = "elementary-sound-theme";
|
2021-07-20 15:35:45 +01:00
|
|
|
version = "1.1.0";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2022-01-19 14:50:20 +00:00
|
|
|
repo = "sound-theme";
|
2018-08-20 21:31:18 +01:00
|
|
|
rev = version;
|
2021-07-20 15:35:45 +01:00
|
|
|
sha256 = "sha256-fR6gtKx9J6o2R1vQZ5yx4kEX3Ak+q8I6hRVMZzyB2E8=";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2018-08-20 21:31:18 +01:00
|
|
|
];
|
|
|
|
|
2019-12-22 06:44:42 +00:00
|
|
|
passthru = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 06:44:42 +00:00
|
|
|
attrPath = "pantheon.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-20 21:31:18 +01:00
|
|
|
description = "A set of system sounds for elementary";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/elementary/sound-theme";
|
2018-08-20 21:31:18 +01:00
|
|
|
license = licenses.unlicense;
|
|
|
|
platforms = platforms.linux;
|
2021-09-18 16:00:51 +01:00
|
|
|
maintainers = teams.pantheon.members;
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
}
|