summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/graphml2json
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-07 12:26:31 +0200
committerlassulus <git@lassul.us>2023-09-07 13:50:26 +0200
commitf55307fd73af235069744dd5155fda0bc73fe613 (patch)
treef048d7750a50e48493505a08784c96d07d291f89 /lass/5pkgs/graphml2json
parent85ae348bf3f53125c8281669a32bf007dc0063be (diff)
lass: migrate away
Diffstat (limited to 'lass/5pkgs/graphml2json')
-rw-r--r--lass/5pkgs/graphml2json/default.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/lass/5pkgs/graphml2json/default.nix b/lass/5pkgs/graphml2json/default.nix
deleted file mode 100644
index 6f06ded3d..000000000
--- a/lass/5pkgs/graphml2json/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ pkgs, ... }:
-pkgs.writers.writePython3Bin "graphml2json" { libraries = [ pkgs.python3Packages.networkx ]; } ''
- import networkx as nx
- import json
- import sys
-
-
- G = nx.read_graphml(sys.argv[1])
- data = nx.readwrite.json_graph.node_link_data(G)
-
- print(json.dumps(data, indent=2))
-''
[cgit] Unable to lock slot /tmp/cgit/14100000.lock: No such file or directory (2)