mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
Screenstub derivation. Murmur.
This commit is contained in:
parent
09c56ccf0c
commit
bfdd94bf7e
7 changed files with 202 additions and 4 deletions
29
pkgs/screenstub/default.nix
Normal file
29
pkgs/screenstub/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue