mirror of https://github.com/rm-dr/daisy
Compare commits
No commits in common. "3c8ed9f4f30dff07c52b039aadd22b8c93a14a15" and "d9730fd6992895de4f5a307ffbfa1df8d9e54051" have entirely different histories.
3c8ed9f4f3
...
d9730fd699
|
@ -1,4 +1,3 @@
|
|||
/target
|
||||
/src/target
|
||||
/pkg
|
||||
/result
|
20
README.md
20
README.md
|
@ -7,25 +7,13 @@ Many features are missing, this is still under development.
|
|||
**Web demo: [here](https://daisy.betalupi.com) (won't work on mobile)**
|
||||
|
||||
# 📦 Installation
|
||||
- **From source:** `cargo build --release`, binary will be at `./target/release/daisy`
|
||||
- **Cargo:** `cargo install daisycalc`
|
||||
- **Arch:** `yay -S daisy`
|
||||
- **Debian:** coming soon
|
||||
- **Nix:** Use `default.nix`. Daisy isn't in nixpkgs yet, you'll need to add something like the following to `configuration.nix`:
|
||||
|
||||
```nix
|
||||
let
|
||||
daisy = builtins.fetchGit {
|
||||
url = "https://github.com/rm-dr/daisy.git";
|
||||
ref = "master";
|
||||
} + /default.nix;
|
||||
in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
(callPackage daisy { })
|
||||
];
|
||||
}
|
||||
```
|
||||
From source: `cargo build --release` \
|
||||
Binary will be in `target/release/daisy`
|
||||
|
||||
|
||||
# 📹 Screenshot
|
||||
|
||||
|
@ -34,7 +22,7 @@ Many features are missing, this is still under development.
|
|||
# 🛠️ Features
|
||||
- Open-source
|
||||
- Extremely high precision
|
||||
- Uses a rational datatype when possible, and a high-precision float when not.
|
||||
- Uses a rational datatype when possible, and a high-precision float when not.
|
||||
- Pretty printing in prompt (with special substitutions)
|
||||
- Supports many physical units, with metric and binary prefixes
|
||||
- Supports exponential notation
|
||||
|
|
19
default.nix
19
default.nix
|
@ -1,19 +0,0 @@
|
|||
{ lib, fetchgit, rustPlatform }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "daisy";
|
||||
version = "1.1.4";
|
||||
cargoLock.lockFile = src + /Cargo.lock;
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/rm-dr/daisy.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aENuKtE1+tBRN0HZzRr8Gk+dVEYTiP6FNRz817Sk88o=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pretty command-line scientific calculator";
|
||||
homepage = "https://github.com/rm-dr/daisy";
|
||||
#license = licenses.GPL;
|
||||
maintainers = [ maintainers.tailhook ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue