From 2c06749d99ce8f3554def6ff7bf0aa3cd3472a8e Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Wed, 30 Aug 2023 17:44:15 +0200 Subject: [PATCH 1/2] maintainers: add twz123 --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 7e2f4a9f6494..8ddd71b70275 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17613,6 +17613,15 @@ github = "twitchyliquid64"; githubId = 6328589; }; + twz123 = { + name = "Tom Wieczorek"; + email = "tom@bibbu.net"; + github = "twz123"; + githubId = 1215104; + keys = [{ + fingerprint = "B1FD 4E2A 84B2 2379 F4BF 2EF5 FE33 A228 2371 E831"; + }]; + }; tylerjl = { email = "tyler+nixpkgs@langlois.to"; github = "tylerjl"; From 5681d9ecbc071083418efda57d8c6c4b2fb1c568 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Wed, 30 Aug 2023 18:19:55 +0200 Subject: [PATCH 2/2] yx: init at 1.0.0 --- pkgs/tools/text/yx/default.nix | 31 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/text/yx/default.nix diff --git a/pkgs/tools/text/yx/default.nix b/pkgs/tools/text/yx/default.nix new file mode 100644 index 000000000000..bff2b955fb42 --- /dev/null +++ b/pkgs/tools/text/yx/default.nix @@ -0,0 +1,31 @@ +{ lib, stdenv, fetchFromGitLab, libyaml }: +stdenv.mkDerivation rec { + pname = "yx"; + version = "1.0.0"; + + src = fetchFromGitLab { + owner = "tomalok"; + repo = pname; + rev = version; + sha256 = "sha256-oY61V9xP0DwRooabzi0XtaFsQa2GwYbuvxfERXQtYcA="; + }; + + makeFlags = [ + "PREFIX=${placeholder "out"}" + ]; + + strictDeps = true; + + buildInputs = [ libyaml ]; + + doCheck = true; + + meta = with lib; { + description = "YAML Data Extraction Tool"; + homepage = "https://gitlab.com/tomalok/yx"; + license = licenses.mit; + platforms = platforms.all; + maintainers = with maintainers; [ twz123 ]; + mainProgram = pname; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3e58d68f01b8..5a92dd4936b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15078,6 +15078,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; + yx = callPackage ../tools/text/yx { }; + zarchive = callPackage ../tools/archivers/zarchive { }; zprint = callPackage ../development/tools/zprint { };