mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +03:00
16 lines
466 B
Nix
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.7.0";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-2fPrZ4jn9bt7VwSnBXW65sTcrb+pcpMgexpGnz2n12w=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-8bOX/aFSLWqLdjqpZA67iqaJMIQRMPRK38gbI9//tD8=";
|
|
|
|
nativeBuildInputs = [ pkgs.pkg-config ];
|
|
}
|