depot/third_party/nixpkgs/pkgs/applications/misc/ttdl/default.nix

27 lines
705 B
Nix
Raw Normal View History

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "ttdl";
version = "4.0.0";
src = fetchFromGitHub {
owner = "VladimirMarkelov";
repo = "ttdl";
rev = "v${version}";
sha256 = "sha256-er2IDPVFbcuT0COBCpBymNVBKtETdWjzR2330WUBp6U=";
};
cargoHash = "sha256-WcqkvnXRgsDJM7p2WGa5lmeeuwNwBy2ZQATVkTHRX7Q=";
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 ];
};
}