mirror of
https://github.com/ivabus/nixos
synced 2024-11-14 20:45:08 +03:00
17 lines
466 B
Nix
17 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 ];
|
||
|
}
|