daisy/default.nix

19 lines
544 B
Nix
Raw Permalink Normal View History

2023-10-14 09:13:54 -07:00
{ lib, fetchgit, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "daisy";
2023-10-15 11:37:51 -07:00
version = "1.1.7";
2023-10-14 09:13:54 -07:00
cargoLock.lockFile = src + /Cargo.lock;
2023-10-15 11:37:02 -07:00
src = builtins.fetchGit {
2023-10-14 09:13:54 -07:00
url = "https://github.com/rm-dr/daisy.git";
2023-10-15 11:37:02 -07:00
ref = "refs/tags/v${version}";
#rev = ""; Ideally, we'd have a hash here, but that would make git history messy.
2023-10-14 09:13:54 -07:00
};
meta = with lib; {
2023-10-15 11:37:02 -07:00
description = "A general-purpose scientific calculator";
2023-10-14 09:13:54 -07:00
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 ];
};
}