diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2020-11-09 18:34:18 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 18:34:18 -0300 |
commit | c08c8a534432cd0bbc4b7cd833530fca2d39f44b (patch) | |
tree | 5bc2a00e187b720178ff1ad133784eab373cfeea /pkgs/tools/misc | |
parent | 5e9d9f07d12d78418422b471b54d5b41f58e61ca (diff) | |
parent | a5c97364b3d88df3b76729a9fd181cc6189d24f2 (diff) |
Merge pull request #103179 from djanatyn/pkg/fend
fend: init at 0.1.9
Diffstat (limited to 'pkgs/tools/misc')
-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 ]; + }; +} |