diff options
author | Jonathan Strickland <djanatyn@gmail.com> | 2020-11-08 20:03:25 -0500 |
---|---|---|
committer | Jonathan Strickland <djanatyn@gmail.com> | 2020-11-08 20:03:25 -0500 |
commit | a5c97364b3d88df3b76729a9fd181cc6189d24f2 (patch) | |
tree | 4f0df87c9671dcd6e5269f0d492d47813c1e542e /pkgs/tools/misc/fend | |
parent | a5ec423734fbf4ef1fe15026116f6f0911fb9196 (diff) |
fend: init at 0.1.9
Diffstat (limited to 'pkgs/tools/misc/fend')
-rw-r--r-- | pkgs/tools/misc/fend/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/misc/fend/default.nix b/pkgs/tools/misc/fend/default.nix new file mode 100644 index 0000000000000..ee91c66cc82a7 --- /dev/null +++ b/pkgs/tools/misc/fend/default.nix @@ -0,0 +1,22 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "fend"; + version = "0.1.9"; + + src = fetchFromGitHub { + owner = "printfn"; + repo = pname; + rev = "v${version}"; + sha256 = "11cvpg7j2rvqri16cr3gb6dpm7dzgs3vywhdc91aa531f87qj16c"; + }; + + cargoSha256 = "0q9gkvbay6rnb0nd14z71h3506yzn9610zc6g8wbpgmw6cpwvbg9"; + + meta = with lib; { + description = "Arbitrary-precision unit-aware calculator"; + homepage = "https://github.com/printfn/fend"; + license = licenses.mit; + maintainers = with maintainers; [ djanatyn ]; + }; +} |