diff options
author | Tom Wieczorek <tom@bibbu.net> | 2023-08-30 18:19:55 +0200 |
---|---|---|
committer | Tom Wieczorek <tom@bibbu.net> | 2023-08-30 18:19:55 +0200 |
commit | 5681d9ecbc071083418efda57d8c6c4b2fb1c568 (patch) | |
tree | 625d1e47213d16806540299131a9174c9ee8cabb /pkgs/tools/text/yx | |
parent | 2c06749d99ce8f3554def6ff7bf0aa3cd3472a8e (diff) | |
download | nixpkgs-5681d9ecbc071083418efda57d8c6c4b2fb1c568.tar nixpkgs-5681d9ecbc071083418efda57d8c6c4b2fb1c568.tar.gz nixpkgs-5681d9ecbc071083418efda57d8c6c4b2fb1c568.tar.bz2 nixpkgs-5681d9ecbc071083418efda57d8c6c4b2fb1c568.tar.lz nixpkgs-5681d9ecbc071083418efda57d8c6c4b2fb1c568.tar.xz nixpkgs-5681d9ecbc071083418efda57d8c6c4b2fb1c568.tar.zst nixpkgs-5681d9ecbc071083418efda57d8c6c4b2fb1c568.zip |
yx: init at 1.0.0
Diffstat (limited to 'pkgs/tools/text/yx')
-rw-r--r-- | pkgs/tools/text/yx/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/text/yx/default.nix b/pkgs/tools/text/yx/default.nix new file mode 100644 index 00000000000..bff2b955fb4 --- /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; + }; +} |