depot/third_party/nixpkgs/pkgs/tools/misc/sfz/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

25 lines
733 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "sfz";
version = "0.7.0";
src = fetchFromGitHub {
owner = "weihanglo";
repo = pname;
rev = "v${version}";
hash = "sha256-XY1xsQgXzmX8jmDDLIivXeW9MsNA/pVtYapcBkBhldE=";
};
cargoSha256 = "sha256-w3HKnCAPSVgx4mqNB7Q0sMCDC4U+4fdIUUwJFz19XdI=";
# error: Found argument '--test-threads' which wasn't expected, or isn't valid in this context
doCheck = false;
meta = with lib; {
description = "Simple static file serving command-line tool written in Rust";
homepage = "https://github.com/weihanglo/sfz";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ dit7ya ];
};
}