graphqurl: add updateScript and testVersion

This commit is contained in:
Bruno Bigras
2025-11-13 02:39:24 -05:00
parent efaabf9a40
commit ed11dd9dbb
+12
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";