graphqurl: add updateScript and testVersion (#336950)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user