nixpkgs/pkgs/applications/misc/sigi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
811 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchCrate, installShellFiles, testers, sigi }:
2022-01-01 07:38:29 +00:00
rustPlatform.buildRustPackage rec {
pname = "sigi";
2022-07-03 09:47:00 +00:00
version = "3.4.2";
2022-01-01 07:38:29 +00:00
2022-01-12 10:57:15 +00:00
src = fetchCrate {
inherit pname version;
2022-07-03 09:47:00 +00:00
sha256 = "sha256-YlTawz09i7k5QxaybKSo4IhECs6UdDSNV+ylIJgKPt4=";
2022-01-01 07:38:29 +00:00
};
2022-07-03 09:47:00 +00:00
cargoSha256 = "sha256-L4eIGxQTM+sZWXWZDGtSwsCT54CWLbyPQ9b+Jf6s94U=";
2022-01-12 10:57:15 +00:00
nativeBuildInputs = [ installShellFiles ];
2022-03-30 09:19:32 +00:00
# In case anything goes wrong.
checkFlags = [ "RUST_BACKTRACE=1" ];
2022-03-10 07:11:56 +00:00
2022-01-12 10:57:15 +00:00
postInstall = ''
installManPage sigi.1
'';
passthru.tests.version = testers.testVersion { package = sigi; };
2022-01-01 07:38:29 +00:00
meta = with lib; {
2022-03-10 07:11:56 +00:00
description = "Organizing CLI for people who don't love organizing.";
2022-01-01 07:38:29 +00:00
homepage = "https://github.com/hiljusti/sigi";
2022-01-12 10:57:15 +00:00
license = licenses.gpl2;
2022-01-01 07:38:29 +00:00
maintainers = with maintainers; [ hiljusti ];
};
}