2023-02-09 11:40:11 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ttdl";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "4.0.0";
|
2023-02-09 11:40:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "VladimirMarkelov";
|
|
|
|
repo = "ttdl";
|
|
|
|
rev = "v${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
sha256 = "sha256-er2IDPVFbcuT0COBCpBymNVBKtETdWjzR2330WUBp6U=";
|
2023-02-09 11:40:11 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
cargoHash = "sha256-WcqkvnXRgsDJM7p2WGa5lmeeuwNwBy2ZQATVkTHRX7Q=";
|
2023-02-09 11:40:11 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CLI tool to manage todo lists in todo.txt format";
|
|
|
|
homepage = "https://github.com/VladimirMarkelov/ttdl";
|
|
|
|
changelog = "https://github.com/VladimirMarkelov/ttdl/blob/v${version}/changelog";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ _3JlOy-PYCCKUi ];
|
|
|
|
};
|
|
|
|
}
|