nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildNpmPackage,
4 fetchFromGitHub,
5}:
6
7buildNpmPackage rec {
8 pname = "pgraphs";
9 version = "0.6.17";
10
11 src = fetchFromGitHub {
12 owner = "pg-format";
13 repo = "pgraphs";
14 tag = "v${version}";
15 hash = "sha256-0Zo8Vg2KHhEGvO+vrbcP0ZTnfLtNTE2fqxq5LwPsJGs=";
16 };
17
18 npmDepsHash = "sha256-47zT3wlCnVIcv0Sst4lUWLUMiWftgvP60cOmHu65vB8=";
19 dontNpmBuild = true;
20
21 meta = {
22 description = "Property Graph Exchange Format (PG) converter";
23 changelog = "https://github.com/pg-format/pgraphs/blob/v${version}/CHANGELOG.md";
24 homepage = "https://github.com/pg-format/pgraphs";
25 license = lib.licenses.mit;
26 mainProgram = "pgraphs";
27 maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
28 };
29}