nurl
nix-prefetch
Our great sponsors
nurl | nix-prefetch | |
---|---|---|
13 | 2 | |
370 | 107 | |
8.1% | - | |
9.1 | 0.0 | |
8 days ago | about 1 year ago | |
Rust | Shell | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nurl
- nurl - Generate Nix fetcher calls from repository URLs
- Show HN: Nurl: Generate Nix fetcher calls from repository URLs
-
How do I get the sha256 for a package to use in fetchFromGithub command ?
you can use nurl to get the hash of fetchers, which uses nix flake prefetch github:/ for github urls under the hood, you can use that too if you don't mind typing a little more
-
nix-init - Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more
All other fetchers supported by nurl are also supported, you just have to specify the tags manually
- Generate Nix packages from URLs with hash prefetching and dependency inference
-
nurl: Generate Nix fetcher calls from repository URLs
added, thanks for the suggestion
nix-prefetch
-
nurl: Generate Nix fetcher calls from repository URLs
Looks neat! Maybe you could add a little part to the README about what differentiates this from things like nix-prefetch.
-
Packaging software with Nix
Alternatively, there are also some command-line tools that can prefetch a file for you. They will fetch the file, put it in the Nix store, and print out the hash to the console. The nix-prefetch-url command comes installed in a standard Nix environment, including Replit repls. Both nix-prefetch-git and nix-prefetch-github are in Nixpkgs (so they can be installed easily using replit.nix) and work similarly. For more advanced uses, consider using nix-prefetch, also in Nixpkgs, which can prefetch using any Nix fetcher.
What are some alternatives?
git-credential-github - A simple git credentials helper for github (Way less bloated than git credentails manager)
nix - Nix, the purely functional package manager
nix-init - Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more [maintainer=@figsoda]
nixpkgs - Nix Packages collection & NixOS
nixpkgs-pytools - Tools for removing the tedious nature of creating nixpkgs derivations [maintainer=@costrouc]
mle - flexible terminal-based text editor (C)
spr - Submit pull requests for individual, amendable, rebaseable commits to GitHub
simple-hello-world-demo
rime - Nix URI libs and utils
nix-template - Make creating nix expressions easy
gitlab-user-manager - Manage your GitLab team access in a better way, dude
laika - Nix fetcher abstractions.