2019-08-05 19:02:06 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2020-07-29 17:33:39 +01:00
|
|
|
, nix-update-script
|
2019-08-05 19:02:06 +01:00
|
|
|
, pantheon
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-05 23:41:32 +01:00
|
|
|
pname = "elementary-sound-theme";
|
2018-08-20 21:31:18 +01:00
|
|
|
version = "1.0";
|
|
|
|
|
2019-08-05 23:41:32 +01:00
|
|
|
repoName = "sound-theme";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2019-08-05 23:41:32 +01:00
|
|
|
repo = repoName;
|
2018-08-20 21:31:18 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1dc583lq61c361arjl3s44d2k72c46bqvcqv1c3s69f2ndsnxjdz";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
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}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-08-20 21:31:18 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|