update docs and dream.lock example

This commit is contained in:
DavHau 2021-10-12 22:01:39 +07:00
parent 7edf7cbf1d
commit 89e0b3633d
2 changed files with 23 additions and 24 deletions

View File

@ -61,10 +61,10 @@ The general architecture should consist of these components:
└───────┬──┘ ▼
▲ │ ┌────────────┐
│ └──►│Generic Lock│
└─────────┬──┘
impure/pure │ ┌────────┐
online/offline ├──►│Fetcher │◄── Same across all
pure-nix/IFD/external │ └────────┘ languages/frameworks
└─────────┬──┘
- pure-nix │ ┌────────┐
- IFD / recursive-nix ├──►│Fetcher │◄── Same across all
- impure (external) │ └────────┘ languages/frameworks
│ ▼
│ ┌────────┐
└──►│Builder │◄── Reads extra metadata

View File

@ -1,31 +1,15 @@
{
"sources": {
"requests": {
"url": "https://download.pypi.org/requests/2.28.0",
"hash": "000000000000000000000000000000000000000",
"version": "1.2.3",
"type": "fetchurl"
},
"certifi": {
"url": "https://download.pypi.org/certifi/2.0",
"hash": "000000000000000000000000000000000000000",
"version": "2.3.4",
"type": "fetchurl"
}
},
"generic": {
"buildSystem": "python",
"translatedBy": "python.pure.poetry",
"translatorParams": "--flag_application",
"translatedBy": "python.impure.pip",
"translatorArgs": "",
"mainPackage": "requests",
"dependencyCyclesRemoved": true,
"removedDependencies": true,
"dependencyGraph": {
"requests": [
"certifi"
]
},
"sourcesCombinedHash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
},
"buildSystem": {
@ -34,5 +18,20 @@
"requests": "sdist",
"certifi": "wheel"
}
},
"sources": {
"requests#1.2.3": {
"url": "https://download.pypi.org/requests/2.28.0",
"hash": "000000000000000000000000000000000000000",
"version": "1.2.3",
"type": "fetchurl"
},
"certifi#2.3.4": {
"url": "https://download.pypi.org/certifi/2.0",
"hash": "000000000000000000000000000000000000000",
"version": "2.3.4",
"type": "fetchurl"
}
}
}