mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
34 lines
765 B
Nix
34 lines
765 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "sfz";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "weihanglo";
|
|
repo = "sfz";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-mKH1vgk+3tZEnjJRkfa0dDR383VN1VLNd3HEzC7f8YI=";
|
|
};
|
|
|
|
cargoHash = "sha256-/I0cSnB/HVhJr5qf5dMvawggwM7qHJbnD4InECuKdcA=";
|
|
|
|
# error: Found argument '--test-threads' which wasn't expected, or isn't valid in this context
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Simple static file serving command-line tool written in Rust";
|
|
homepage = "https://github.com/weihanglo/sfz";
|
|
license = with lib.licenses; [
|
|
asl20 # or
|
|
mit
|
|
];
|
|
maintainers = [ ];
|
|
mainProgram = "sfz";
|
|
};
|
|
})
|