diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 40bebe6285c5..a970f9363a60 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6493,6 +6493,12 @@ githubId = 1713676; name = "Luis G. Torres"; }; + giomf = { + email = "giomf@mailbox.org"; + github = "giomf"; + githubId = 35076723; + name = "Guillaume Fournier"; + }; giorgiga = { email = "giorgio.gallo@bitnic.it"; github = "giorgiga"; diff --git a/pkgs/by-name/nu/numbat/package.nix b/pkgs/by-name/nu/numbat/package.nix new file mode 100644 index 000000000000..f3b47f0c581c --- /dev/null +++ b/pkgs/by-name/nu/numbat/package.nix @@ -0,0 +1,37 @@ +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +, darwin +}: + +rustPlatform.buildRustPackage rec { + pname = "numbat"; + version = "1.6.3"; + + src = fetchFromGitHub { + owner = "sharkdp"; + repo = "numbat"; + rev = "v${version}"; + hash = "sha256-r6uPe2NL+6r/fKjf0C/5DLdB5YP3SIo8g8EsDxKP/3g="; + }; + + cargoHash = "sha256-MPqJjCfIwgK8QigWQYfWAYlg9RNMzF4x+0SprS0raKY="; + + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + ]; + + meta = with lib; { + description = "High precision scientific calculator with full support for physical units"; + longDescription = '' + A statically typed programming language for scientific computations + with first class support for physical dimensions and units + ''; + homepage = "https://numbat.dev"; + changelog = "https://github.com/sharkdp/numbat/releases/tag/v${version}"; + license = with licenses; [ asl20 mit ]; + mainProgram = "numbat"; + maintainers = with maintainers; [ giomf ]; + }; +}