1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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-30 19:44:33 +00:00
version = "0.1.11";
2020-11-09 01:03:25 +00:00
src = fetchFromGitHub {
owner = "printfn";
repo = pname;
rev = "v${version}";
2020-11-30 19:44:33 +00:00
sha256 = "0g9zr2afi103cwv6ikpmmyh5v055dh47l3wj9a1kbxgms0953iwh";
2020-11-09 01:03:25 +00:00
};
2020-11-30 19:44:33 +00:00
cargoSha256 = "0hydlaibanw2vjyxymfbzgwwk2qjv7jsz15gn66ga5vknsqihcrx";
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 ];
};
}