base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / rw / rwpspread / package.nix
blob9efdc473860ca1e879a63d31fbd2c46a2d4e385f
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , libxkbcommon
6 , nix-update-script
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "rwpspread";
11   version = "0.3.1";
13   src = fetchFromGitHub {
14     owner = "0xk1f0";
15     repo = "rwpspread";
16     rev = "v${version}";
17     hash = "sha256-ivxu1UsQLUm017A5Za82+l1bQoYA/TF/I1BwUQD3dWo=";
18   };
19   cargoHash = "sha256-pIsSH8cQYyG7v7z4O2R80kA4QHvKyTajBfqmRXjuQW8=";
21   nativeBuildInputs = [ pkg-config ];
23   buildInputs = [ libxkbcommon ];
25   passthru.updateScript = nix-update-script { };
27   meta = {
28     description = "Multi-Monitor Wallpaper Utility";
29     homepage = "https://github.com/0xk1f0/rwpspread";
30     license = lib.licenses.gpl3Only;
31     maintainers = with lib.maintainers; [ fsnkty ];
32     platforms = lib.platforms.linux;
33     mainProgram = "rwpspread";
34   };