3
0
Fork 0
forked from mirrors/nixpkgs

todo: init at 2.4

This commit is contained in:
sioodmy 2022-03-26 19:55:42 +01:00
parent 4b57b62ca3
commit 89534942b4
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, stdenv
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "todo";
version = "2.4";
src = fetchFromGitHub {
owner = "sioodmy";
repo = "todo";
rev = version;
sha256 = "Z3kaCNZyknNHkZUsHARYh3iWWR+v//JhuYoMIrq54Wo=";
};
cargoSha256 = "82xB+9kiLBwCE6yC3tlmgzJJgA1cMDq6Mjc48GBZ9B8=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
preFixup = ''
mv $out/bin/todo-bin $out/bin/todo
'';
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";
};
}

View file

@ -10527,6 +10527,8 @@ with pkgs;
top-git = callPackage ../applications/version-management/git-and-tools/topgit { }; top-git = callPackage ../applications/version-management/git-and-tools/topgit { };
todo = callPackage ../tools/misc/todo { };
tor = callPackage ../tools/security/tor { }; tor = callPackage ../tools/security/tor { };
tor-browser-bundle-bin = callPackage ../applications/networking/browsers/tor-browser-bundle-bin { }; tor-browser-bundle-bin = callPackage ../applications/networking/browsers/tor-browser-bundle-bin { };