depot/third_party/nixpkgs/pkgs/by-name/ta/taschenrechner/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
660 B
Nix

{ lib
, rustPlatform
, fetchFromGitLab
}:
rustPlatform.buildRustPackage rec {
pname = "taschenrechner";
version = "1.4.0";
src = fetchFromGitLab {
domain = "gitlab.fem-net.de";
owner = "mabl";
repo = "taschenrechner";
rev = version;
hash = "sha256-5Vml6UeiWz7fNA+vEQ/Ita2YI8dGgDclqkzQ848AwVk=";
};
cargoHash = "sha256-BZGkdHR66O3GjKl9yM/bKxdGdvWFB/YO2Egg6V/wuB8=";
meta = with lib; {
description = "Cli-calculator written in Rust";
homepage = "https://gitlab.fem-net.de/mabl/taschenrechner";
license = licenses.gpl3Only;
maintainers = with maintainers; [ netali ];
mainProgram = "taschenrechner";
};
}