depot/third_party/nixpkgs/pkgs/by-name/rw/rwpspread/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

45 lines
935 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libxkbcommon
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
pname = "rwpspread";
version = "0.2.1";
src = fetchFromGitHub {
owner = "0xk1f0";
repo = "rwpspread";
rev = "v${version}";
hash = "sha256-I9zZtk+Byn2DBMvhRVUBJ5O8fzzy1uSTniMUDXi07ho=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"smithay-client-toolkit-0.18.0" = "sha256-7s5XPmIflUw2qrKRAZUz30cybYKvzD5Hu4ViDpzGC3s=";
};
};
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; [ nu-nu-ko ];
platforms = lib.platforms.linux;
mainProgram = "rwpspread";
};
}