Initial commit for rewrite
This commit is contained in:
16
default.nix
Normal file
16
default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "rpi-fan-control";
|
||||
version = "0.1";
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
src = pkgs.lib.cleanSource ./.;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
libgpiod
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user