photoqt: 4.6 -> 4.7 (#361171)
[NixPkgs.git] / pkgs / desktops / pantheon / apps / switchboard-plugs / printers / default.nix
blobd4195f246a8a22513b4d9ce109d87a66784acf4c
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , nix-update-script
5 , meson
6 , ninja
7 , pkg-config
8 , vala
9 , libadwaita
10 , libgee
11 , granite7
12 , gtk4
13 , cups
14 , switchboard
17 stdenv.mkDerivation rec {
18   pname = "switchboard-plug-printers";
19   version = "8.0.1";
21   src = fetchFromGitHub {
22     owner = "elementary";
23     repo = pname;
24     rev = version;
25     sha256 = "sha256-1znz8B4CGQGDiJC4Mt61XAh9wWAV8J0+K3AIpFcffXQ=";
26   };
28   nativeBuildInputs = [
29     meson
30     ninja
31     pkg-config
32     vala
33   ];
35   buildInputs = [
36     cups
37     granite7
38     gtk4
39     libadwaita
40     libgee
41     switchboard
42   ];
44   passthru = {
45     updateScript = nix-update-script { };
46   };
48   meta = with lib; {
49     description = "Switchboard Printers Plug";
50     homepage = "https://github.com/elementary/switchboard-plug-printers";
51     license = licenses.gpl3Plus;
52     platforms = platforms.linux;
53     maintainers = teams.pantheon.members;
54   };