From 4b57b62ca39a889a5f20259aab1fb1d4e618d4b0 Mon Sep 17 00:00:00 2001 From: sioodmy Date: Sat, 26 Mar 2022 19:52:33 +0100 Subject: [PATCH 1/2] maintainers: add sioodmy --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 47547d7f409b..a06520b89732 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10997,6 +10997,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"; From 89534942b4c0d7a765ae79399a475db2844f8ca0 Mon Sep 17 00:00:00 2001 From: sioodmy Date: Sat, 26 Mar 2022 19:55:42 +0100 Subject: [PATCH 2/2] todo: init at 2.4 --- pkgs/tools/misc/todo/default.nix | 35 ++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/tools/misc/todo/default.nix diff --git a/pkgs/tools/misc/todo/default.nix b/pkgs/tools/misc/todo/default.nix new file mode 100644 index 000000000000..c11961d0c429 --- /dev/null +++ b/pkgs/tools/misc/todo/default.nix @@ -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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eda0775dd6f3..673215afeda5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10527,6 +10527,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 { };