docs: Add some doc string to the scripts

This commit is contained in:
PapaTutuWawa 2023-01-28 15:31:47 +01:00
parent 5dc2b127fa
commit 039f954e70
2 changed files with 12 additions and 0 deletions

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 sys
import yaml import yaml
import urllib.parse import urllib.parse

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 sys
import subprocess import subprocess
import urllib import urllib