graphqurl: add updateScript and testVersion (#336950)

This commit is contained in:
Ryan Mulligan
2025-11-15 23:32:18 +00:00
committed by GitHub

View File

@@ -2,6 +2,9 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
testers,
graphqurl,
}:
buildNpmPackage rec {
@@ -19,6 +22,15 @@ buildNpmPackage rec {
dontNpmBuild = true;
passthru = {
updateScript = nix-update-script { };
tests = {
graphqurl-version = testers.testVersion {
package = graphqurl;
};
};
};
meta = {
description = "CLI and JS library for making GraphQL queries";
homepage = "https://github.com/hasura/graphqurl";