11 stdenv.mkDerivation (finalAttrs: {
12 pname = "get-graphql-schema";
15 src = fetchFromGitHub {
16 owner = "prisma-labs";
17 repo = "get-graphql-schema";
18 rev = "v${finalAttrs.version}";
19 hash = "sha256-ujc0LGAqmo4SmItm4VcbBOtmUvL6aV1ppMm4fMmuSRs=";
22 yarnOfflineCache = fetchYarnDeps {
23 yarnLock = "${finalAttrs.src}/yarn.lock";
24 hash = "sha256-TZGNX8UHbolLyBmQNGTnFjgx3/3f2HNVQf/h9rIVJKs=";
30 npmHooks.npmInstallHook
35 description = "Fetch and print the GraphQL schema from a GraphQL HTTP endpoint.";
36 homepage = "https://github.com/prisma-labs/get-graphql-schema";
37 license = lib.licenses.mit;
38 mainProgram = "get-graphql-schema";
39 maintainers = with lib.maintainers; [ pyrox0 ];