Merge pull request #164045 from sioodmy/todo

todo: init at 2.4
This commit is contained in:
Ivv 2022-09-08 21:33:55 +02:00 committed by GitHub
commit de586b545e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 0 deletions

View file

@ -11795,6 +11795,12 @@
githubId = 3958212;
name = "Tom Sorlie";
};
sioodmy = {
name = "Antoni Sokołowski";
email = "81568712+sioodmy@users.noreply.github.com";
github = "sioodmy";
githubId = 81568712;
};
schmitthenner = {
email = "development@schmitthenner.eu";
github = "fkz";

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

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