depot/third_party/nixpkgs/pkgs/tools/text/yx/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

31 lines
649 B
Nix

{ 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;
};
}