nixos/pkgs/urouter.nix
Ivan Bushchik bc7a9a5b4c
Finally setup urouter and iva.bz using nix
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-12-20 20:17:29 +03:00

16 lines
466 B
Nix

{ pkgs ? import <nixpkgs> { system = builtins.currentSystem; }, lib ? pkgs.lib
, rustPlatform ? pkgs.rustPlatform, fetchCrate ? pkgs.fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "urouter";
version = "0.3.5";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-kLCJXLtcbF3IeTylbd7EpDx3cjt0sRz1P90iJYlLi7Y=";
};
cargoSha256 = "sha256-zePizgFOoSDILz8PL74RQ+iPFXJY+l41M4EwLwzJRPU=";
nativeBuildInputs = [ pkgs.pkg-config ];
}