mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
660 B
Nix
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";
|
|
};
|
|
}
|