Prefetch source code from github for nix build tool
Project description
This module implements a python function and a command line tool to help you fetch sources from github when using fetchFromGitHub.
command line example
$ nix-prefetch-github seppeljordan nix-prefetch-github { "owner": "seppeljordan", "repo": "nix-prefetch-github", "rev": "603f42203db128a7aaa091cf34d406bf7a80e9f0", "sha256": "1wrvvy85x7yqj4rkgpj93cdnhalyhzpr8pmyca38v59lm5ndh2w4" }
python example
Python 3.6.4 (default, Dec 19 2017, 05:36:13) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import nix_prefetch_github >>> nix_prefetch_github.nix_prefetch_github(owner="seppeljordan", repo="nix-prefetch-github") {'owner': 'seppeljordan', 'repo': 'nix-prefetch-github', 'rev': '603f42203db128a7aaa091cf34d406bf7a80e9f0', 'sha256': '1wrvvy85x7yqj4rkgpj93cdnhalyhzpr8pmyca38v59lm5ndh2w4'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file nix-prefetch-github-1.3.tar.gz
.
File metadata
- Download URL: nix-prefetch-github-1.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8aac41de44ccf3d346dd22f1ccd0f53dc7db01aa29054cdf367890aaa089c56 |
|
MD5 | 73f09d9894f1551b2137d1899f1f1f8f |
|
BLAKE2b-256 | 1c500d492582fafb03e287c4bc512cd304a6f3fb2b100413bda62e087154fc4e |