summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix
blob: aff830fda5687477ee87a52043d73d351d04d80a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ 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;
  };
}