9 stdenv.mkDerivation rec {
13 src = fetchFromGitLab {
17 hash = "sha256-uuso+hsmdsB7VpIRKob8rfMaWvRMCBHvCFnYrHPC6iw=";
21 # https://gitlab.com/tomalok/yx/-/issues/2
22 ./0001-Don-t-strip-binary-when-installing.patch
24 # https://gitlab.com/tomalok/yx/-/merge_requests/10
25 url = "https://gitlab.com/tomalok/yx/-/commit/5747ca40f4b0acb56d67fd29a818734d7b19d61a.patch";
26 hash = "sha256-0tNtkq1tZ96Ag5EJfUfDao/QxpRB4Jadop3OPBvhnlo=";
31 "PREFIX=${placeholder "out"}"
36 buildInputs = [ libyaml ];
40 passthru.tests.version = testers.testVersion {
42 command = "${meta.mainProgram} -v";
43 version = "v${yx.version}";
47 description = "YAML Data Extraction Tool";
48 homepage = "https://gitlab.com/tomalok/yx";
49 license = licenses.mit;
50 platforms = platforms.all;
51 maintainers = with maintainers; [ twz123 ];