Merge pull request #284353 from twz123/yx-1.0.2

yx: 1.0.0 -> 1.0.2
This commit is contained in:
Mario Rodas 2024-01-28 10:50:14 -05:00 committed by GitHub
commit 933597089d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,13 +1,19 @@
{ lib, stdenv, fetchFromGitLab, libyaml }: { lib
, stdenv
, fetchFromGitLab
, libyaml
, testers
, yx
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "yx"; pname = "yx";
version = "1.0.0"; version = "1.0.2";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "tomalok"; owner = "tomalok";
repo = pname; repo = "yx";
rev = version; rev = version;
sha256 = "sha256-oY61V9xP0DwRooabzi0XtaFsQa2GwYbuvxfERXQtYcA="; hash = "sha256-uuso+hsmdsB7VpIRKob8rfMaWvRMCBHvCFnYrHPC6iw=";
}; };
makeFlags = [ makeFlags = [
@ -20,6 +26,12 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
passthru.tests.version = testers.testVersion {
package = yx;
command = "${meta.mainProgram} -v";
version = "v${yx.version}";
};
meta = with lib; { meta = with lib; {
description = "YAML Data Extraction Tool"; description = "YAML Data Extraction Tool";
homepage = "https://gitlab.com/tomalok/yx"; homepage = "https://gitlab.com/tomalok/yx";