2023-01-04 18:14:32 +01:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ttdl";
|
2024-03-01 14:39:57 +01:00
|
|
|
version = "4.2.1";
|
2023-01-04 18:14:32 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "VladimirMarkelov";
|
|
|
|
repo = "ttdl";
|
|
|
|
rev = "v${version}";
|
2024-03-01 14:39:57 +01:00
|
|
|
sha256 = "sha256-fspqUzF3QqFpd16J1dbcNMdqjcR3PIiRu/s+VB4KgwQ=";
|
2023-01-04 18:14:32 +01:00
|
|
|
};
|
|
|
|
|
2024-03-01 14:39:57 +01:00
|
|
|
cargoHash = "sha256-dvzm9lbVGGM4t6KZcHSlqwo55jssxi8HyFREMaj5I0Q=";
|
2023-01-04 18:14:32 +01: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 ];
|
2024-02-11 03:19:15 +01:00
|
|
|
mainProgram = "ttdl";
|
2023-01-04 18:14:32 +01:00
|
|
|
};
|
|
|
|
}
|