docs: Add some doc string to the scripts

This commit is contained in:
PapaTutuWawa committed 2023-01-28 15:31:47 +01:00
1 parent 5dc2b127fa
commit 039f954e70
2 files changed
+12

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
'''
This script generates a .nix file containing all dependencies specified in the
special lock file. The .nix file also contains the derivation "pubCache", which can
be used as the path in the PUB_CACHE environment variable.
'''
import sys
import yaml
import urllib.parse
+6
View File
@@ -1,3 +1,9 @@
'''
Takes a Dart pubspec.lock file as input and outputs a specialized lock file
that contains archive URLs and sha256 hashes for nix. Only useful in combination
with lock2nix.py.
'''
import sys
import subprocess
import urllib