From da65f2146fa62104866421979ba0ad795f1c2b49 Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Fri, 14 Jun 2024 11:26:12 +0200 Subject: [PATCH] pgraphs: init at 0.6.12 --- pkgs/by-name/pg/pgraphs/package.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/by-name/pg/pgraphs/package.nix diff --git a/pkgs/by-name/pg/pgraphs/package.nix b/pkgs/by-name/pg/pgraphs/package.nix new file mode 100644 index 000000000000..0f9e5bc2dbf4 --- /dev/null +++ b/pkgs/by-name/pg/pgraphs/package.nix @@ -0,0 +1,29 @@ +{ + lib, + buildNpmPackage, + fetchFromGitHub, +}: + +buildNpmPackage rec { + pname = "pgraphs"; + version = "0.6.12"; + + src = fetchFromGitHub { + owner = "pg-format"; + repo = "pgraphs"; + rev = "refs/tags/v${version}"; + hash = "sha256-rhNXASSHgdL9knq9uPFhAGlh0ZAKo5TNh/2a4u6Mh1U="; + }; + + npmDepsHash = "sha256-S1pCmRaRuprqIjaylIsuHyguhgQC5vvp7pDq2KJgrHQ="; + dontNpmBuild = true; + + meta = { + description = "Property Graph Exchange Format (PG) converter"; + changelog = "https://github.com/pg-format/pgraphs/blob/v${version}/CHANGELOG.md"; + homepage = "https://github.com/pg-format/pgraphs"; + license = lib.licenses.mit; + mainProgram = "pgraphs"; + maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; + }; +}