2022-10-21 18:38:19 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, pkg-config, stdenv, openssl }:
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "todo";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "2.5";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sioodmy";
|
|
|
|
repo = "todo";
|
|
|
|
rev = version;
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "oyRdXvVnCfdFM8lI1eCDHHYNWcJc0Qg0TKxQXUqNo40=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
cargoSha256 = "B0tecuBx/FFQokhfI6+xpppyG5DD8WS2+MkmPaZfMhI=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple todo cli program written in rust";
|
|
|
|
homepage = "https://github.com/sioodmy/todo";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ sioodmy ];
|
|
|
|
mainProgram = "todo";
|
|
|
|
};
|
|
|
|
}
|