9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-fFeHL+Q1Y0J3rOgbFA952rjae/OQgHTznDI0Kya1KMQ=";
20 cargoHash = "sha256-hgtSDPQRrqhQALqzVW8z9xXqIv+v5/Sbs6McrUCKiaU=";
22 buildInputs = [ gmp mpfr libmpc ];
24 outputs = [ "out" "lib" ];
27 moveToOutput "lib" "$lib"
30 env.CARGO_FEATURE_USE_SYSTEM_LIBS = "1";
33 homepage = "https://kalker.strct.net";
34 changelog = "https://github.com/PaddiM8/kalker/releases/tag/v${version}";
35 description = "Command line calculator";
37 A command line calculator that supports math-like syntax with user-defined
38 variables, functions, derivation, integration, and complex numbers
40 license = licenses.mit;
41 maintainers = with maintainers; [ figsoda lovesegfault ];
42 mainProgram = "kalker";