mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
21 lines
562 B
Nix
21 lines
562 B
Nix
{ fetchFromGitHub, rustPlatform, pkg-config, lib, libxcb, udev, python3 }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "screenstub";
|
|
version = "2021-01-08";
|
|
src = fetchFromGitHub {
|
|
owner = "arcnmx";
|
|
repo = pname;
|
|
rev = "e379279fedaaa1d06b1d89da4cf54752814a456f";
|
|
sha256 = "0qv15rpazrpdspfcvyizbjdrrm2nrqz0790pa8zvp5bjsw4mvwvx";
|
|
};
|
|
|
|
patches = [ ./main.patch ];
|
|
|
|
nativeBuildInputs = [ pkg-config python3 ];
|
|
buildInputs = [ libxcb udev ];
|
|
|
|
cargoSha256 = "0yijg5v731n49ygav2cfiawnw84hxd6kvik5hmz544vikxj96bj4";
|
|
|
|
doCheck = false;
|
|
}
|