3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/fend/default.nix

23 lines
577 B
Nix
Raw Normal View History

2020-11-09 01:03:25 +00:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "fend";
2020-11-26 03:27:18 +00:00
version = "0.1.10";
2020-11-09 01:03:25 +00:00
src = fetchFromGitHub {
owner = "printfn";
repo = pname;
rev = "v${version}";
2020-11-26 03:27:18 +00:00
sha256 = "1gs9hmkc25013nk8b7d7pcxcp4jmk4pa4gcki3wgvlrzjl1av7w4";
2020-11-09 01:03:25 +00:00
};
2020-11-26 03:27:18 +00:00
cargoSha256 = "13lw7isg9lfn6dfngq15qbq619c644ixa5bvb1ja0l3hm3akrs5g";
2020-11-09 01:03:25 +00:00
meta = with lib; {
description = "Arbitrary-precision unit-aware calculator";
homepage = "https://github.com/printfn/fend";
license = licenses.mit;
maintainers = with maintainers; [ djanatyn ];
};
}