Unverified Commit 02a37354 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #252375 from twz123/init-yx

yx: init at 1.0.0
parents 3ca89d74 5681d9ec
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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";
+31 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -15083,6 +15083,8 @@ with pkgs;
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  yx = callPackage ../tools/text/yx { };
  zarchive = callPackage ../tools/archivers/zarchive { };
  zprint = callPackage ../development/tools/zprint { };