depot/pkgs/by-name/ta/taschenrechner/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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";
};
}