Merge pull request #288847 from marsam/update-quicktype
quicktype: 23.0.81 -> 23.0.103
This commit is contained in:
commit
f654da5ff4
1 changed files with 8 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
|||
{ lib, buildNpmPackage, fetchFromGitHub, jq }:
|
||||
{ lib, buildNpmPackage, fetchFromGitHub, jq, quicktype, testers }:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "quicktype";
|
||||
version = "23.0.81"; # version from https://npm.im/quicktype
|
||||
version = "23.0.104"; # version from https://npm.im/quicktype
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "glideapps";
|
||||
repo = "quicktype";
|
||||
rev = "838c5e0e63a50d7c7790dc81118e664480fc4a80"; # version not tagged
|
||||
hash = "sha256-+VMkfkBSomxxlkuOeMqBCySe7VCx2K5bIdF/tmVgK/Y=";
|
||||
rev = "916cd94a9d4fdeab870b6a12f42ad43ebaedf314"; # version not tagged
|
||||
hash = "sha256-PI9YgFVy7Mlln9+7IAU9vzyvK606PuAJ32st3NDwXIw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -21,6 +21,10 @@ buildNpmPackage rec {
|
|||
mv packages/ $out/lib/node_modules/quicktype/
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion { package = quicktype; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate types and converters from JSON, Schema, and GraphQL";
|
||||
homepage = "https://quicktype.io/";
|
||||
|
|
Loading…
Reference in a new issue