5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
31 lines
649 B
Nix
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;
|
|
};
|
|
}
|