daisy/default.nix

19 lines
511 B
Nix
Raw Normal View History

2023-10-14 09:13:54 -07:00
{ 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";
2023-10-14 09:36:25 -07:00
rev = "v${version}";
2023-10-14 09:13:54 -07:00
sha256 = "sha256-aENuKtE1+tBRN0HZzRr8Gk+dVEYTiP6FNRz817Sk88o=";
};
meta = with lib; {
description = "A pretty command-line scientific calculator";
homepage = "https://github.com/rm-dr/daisy";
2023-10-14 09:36:25 -07:00
#license = licenses.GPL;
2023-10-14 09:13:54 -07:00
maintainers = [ maintainers.tailhook ];
};
}