about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/co/cosmic-settings-daemon/package.nix
blob: 6046b55e3bc88c90aeb8d36d80886608252f7b4f (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
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, udev
}:

rustPlatform.buildRustPackage rec {
  pname = "cosmic-settings-daemon";
  version = "unstable-2023-12-29";

  src = fetchFromGitHub {
    owner = "pop-os";
    repo = pname;
    rev = "f7183b68c6ca3f68054b5dd6457b1d5798a75a48";
    hash = "sha256-Wck0NY6CUjD16gxi74stayiahs4UiqS7iQCkbOXCgKE=";
  };

  cargoHash = "sha256-vCs20RdGhsI1+f78KEau7ohtoGTrGP9QH91wooQlgOE=";

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ udev ];

  meta = with lib; {
    homepage = "https://github.com/pop-os/cosmic-settings-daemon";
    description = "Settings Daemon for the COSMIC Desktop Environment";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ nyanbinary ];
    platforms = platforms.linux;
  };
}