depot/third_party/nixpkgs/pkgs/applications/misc/ttdl/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

27 lines
729 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "ttdl";
version = "4.4.1";
src = fetchFromGitHub {
owner = "VladimirMarkelov";
repo = "ttdl";
rev = "v${version}";
sha256 = "sha256-pcZ/8eM8JN+DKJKdVKJEl775QUXC4CFeMAaiBN0j+zo=";
};
cargoHash = "sha256-+caVo53gf7ZUMr0w/yoXfBaZ5MPe73s7vwoOdZVUcNY=";
meta = with lib; {
description = "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 ];
mainProgram = "ttdl";
};
}