2022-01-19 23:45:15 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate, installShellFiles, testVersion, sigi }:
|
2022-01-07 04:07:37 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "sigi";
|
2022-01-19 23:45:15 +00:00
|
|
|
version = "3.0.0";
|
2022-01-07 04:07:37 +00:00
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-1xZMj6NjwA9pVOEL4CDv4XHC3usu3WdjsLJuW3vgxc8=";
|
2022-01-07 04:07:37 +00:00
|
|
|
};
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
installManPage sigi.1
|
|
|
|
'';
|
|
|
|
|
|
|
|
cargoSha256 = "sha256-NUWm2GkK7bASo6bAOgQgHate45iDG5l3G/KhtLrjzQ8=";
|
2022-01-07 04:07:37 +00:00
|
|
|
|
|
|
|
passthru.tests.version = testVersion { package = sigi; };
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CLI tool for organization and planning";
|
|
|
|
homepage = "https://github.com/hiljusti/sigi";
|
2022-01-19 23:45:15 +00:00
|
|
|
license = licenses.gpl2;
|
2022-01-07 04:07:37 +00:00
|
|
|
maintainers = with maintainers; [ hiljusti ];
|
|
|
|
};
|
|
|
|
}
|