init
This commit is contained in:
21
default.nix
Normal file
21
default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
# lib,
|
||||
rustPlatform,
|
||||
packageName,
|
||||
pkg-config,
|
||||
wayland,
|
||||
alsa-lib,
|
||||
libudev-zero,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
name = "${packageName}";
|
||||
src = ./.;
|
||||
buildInputs = [
|
||||
wayland
|
||||
alsa-lib
|
||||
libudev-zero
|
||||
];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
# cargoHash = lib.fakeHash;
|
||||
cargoHash = "sha256-ZJ7DODvIiupVlmBUhQhXEVlNeDT0S62z/5Qln77JpQc=";
|
||||
}
|
||||
Reference in New Issue
Block a user