I packaged the Frink programming language for nix. Give it a go:
$ NIXPKGS_ALLOW_UNFREE=1 nix-shell --packages frink --run frink
Frink is a programming language with great support for units of measure. It is my go to desktop calculator these days.
Here’s Hillel Wayne on Frink: https://www.hillelwayne.com/post/frink/