mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
f1ec434848
with the help of deadnix & nil
27 lines
670 B
Nix
27 lines
670 B
Nix
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "todo";
|
|
version = "2.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sioodmy";
|
|
repo = "todo";
|
|
rev = version;
|
|
sha256 = "oyRdXvVnCfdFM8lI1eCDHHYNWcJc0Qg0TKxQXUqNo40=";
|
|
};
|
|
|
|
cargoSha256 = "B0tecuBx/FFQokhfI6+xpppyG5DD8WS2+MkmPaZfMhI=";
|
|
|
|
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";
|
|
};
|
|
}
|