depot/third_party/nixpkgs/pkgs/by-name/rw/rwpspread/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
816 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libxkbcommon
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
pname = "rwpspread";
version = "0.3.0";
src = fetchFromGitHub {
owner = "0xk1f0";
repo = "rwpspread";
rev = "v${version}";
hash = "sha256-B8K8/M5cUSchG54ar0ZY2XOH6lYLimdZr+dk5ffdplY=";
};
cargoHash = "sha256-bTCXgaE8+nxuEFeOMSihL3lfmbIxiv1f400rmyV2b8k=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libxkbcommon ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Multi-Monitor Wallpaper Utility";
homepage = "https://github.com/0xk1f0/rwpspread";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fsnkty ];
platforms = lib.platforms.linux;
mainProgram = "rwpspread";
};
}