2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildNpmPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "graphqurl";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.0.3";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hasura";
|
|
|
|
repo = "graphqurl";
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-w7t3p7TOBA0nxUlfRfQkiZ26SCDCwv03A1r+pTgUCqc=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
npmDepsHash = "sha256-17eRYr0vgnq7eFtlYY2CwvluwhbXWClL3onTNBkDF0c=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "CLI and JS library for making GraphQL queries";
|
|
|
|
homepage = "https://github.com/hasura/graphqurl";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
mainProgram = "gq";
|
|
|
|
maintainers = with lib.maintainers; [ bbigras ];
|
|
|
|
};
|
|
|
|
}
|