nixpkgs/pkgs/by-name/ta/taschenrechner/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
660 B
Nix
Raw Normal View History

2023-10-21 21:57:26 +02:00
{ lib
, rustPlatform
, fetchFromGitLab
}:
rustPlatform.buildRustPackage rec {
pname = "taschenrechner";
2024-01-31 04:41:06 +01:00
version = "1.4.0";
2023-10-21 21:57:26 +02:00
src = fetchFromGitLab {
domain = "gitlab.fem-net.de";
owner = "mabl";
repo = "taschenrechner";
rev = version;
2024-01-31 04:41:06 +01:00
hash = "sha256-5Vml6UeiWz7fNA+vEQ/Ita2YI8dGgDclqkzQ848AwVk=";
2023-10-21 21:57:26 +02:00
};
2024-01-31 04:41:06 +01:00
cargoHash = "sha256-BZGkdHR66O3GjKl9yM/bKxdGdvWFB/YO2Egg6V/wuB8=";
2023-10-21 21:57:26 +02:00
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";
};
}