mirror of
https://codeberg.org/icewind/wifi-prometheus-exporter.git
synced 2026-10-01 16:04:06 +02:00
flake rework, dep updates
This commit is contained in:
parent
598144ee7d
commit
881c06173b
8 changed files with 738 additions and 521 deletions
29
package.nix
Normal file
29
package.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
rustPlatform,
|
||||
openssl,
|
||||
pkg-config,
|
||||
lib,
|
||||
}: let
|
||||
inherit (lib.sources) sourceByRegex;
|
||||
src = sourceByRegex ./. ["Cargo.*" "(src)(/.*)?"];
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wifi-prometheus-exporter";
|
||||
version = "0.1.0";
|
||||
|
||||
inherit src;
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue