bump version

This commit is contained in:
figsoda 2023-01-24 12:36:41 -05:00
parent 619a655cba
commit 1e46712df0
4 changed files with 23 additions and 6 deletions

View File

@ -1,5 +1,13 @@
# Changelog
## v0.3.6 - 2023-01-24
### Features
- `--fallback` to specify a fetcher to fall back to
- `fetchPypi` support
- `builtins.fetchGit` support
## v0.3.5 - 2023-01-13
### Features

2
Cargo.lock generated
View File

@ -591,7 +591,7 @@ dependencies = [
[[package]]
name = "nurl"
version = "0.3.5"
version = "0.3.6"
dependencies = [
"anyhow",
"assert_cmd",

View File

@ -1,6 +1,6 @@
[package]
name = "nurl"
version = "0.3.5"
version = "0.3.6"
authors = ["figsoda <figsoda@pm.me>"]
edition = "2021"
description = "Generate Nix fetcher calls from repository URLs"

View File

@ -20,6 +20,7 @@ fetchFromGitHub {
## Supported Fetchers
- builtins.fetchGit
- fetchCrate
- fetchFromBitbucket
- fetchFromGitHub
@ -29,6 +30,7 @@ fetchFromGitHub {
- fetchFromRepoOrCz
- fetchFromSourcehut
- fetchHex
- fetchPypi
- fetchgit
- fetchhg
- fetchsvn
@ -44,10 +46,17 @@ Arguments:
Options:
-f, --fetcher <FETCHER> Specify the fetcher function instead of inferring from the
URL [possible values: fetchCrate, fetchFromBitbucket,
URL [possible values: builtins.fetchGit, fetchCrate,
fetchFromBitbucket, fetchFromGitHub, fetchFromGitLab,
fetchFromGitea, fetchFromGitiles, fetchFromRepoOrCz,
fetchFromSourcehut, fetchHex, fetchPypi, fetchgit, fetchhg,
fetchsvn]
-F, --fallback <FALLBACK> The fetcher to fall back to when nurl fails to infer it from
the URL [default: fetchgit] [possible values:
builtins.fetchGit, fetchCrate, fetchFromBitbucket,
fetchFromGitHub, fetchFromGitLab, fetchFromGitea,
fetchFromGitiles, fetchFromRepoOrCz, fetchFromSourcehut,
fetchHex, fetchgit, fetchhg, fetchsvn]
fetchHex, fetchPypi, fetchgit, fetchhg, fetchsvn]
-i, --indent <INDENT> Extra indentation (in number of spaces) [default: 0]
-H, --hash Only output the hash
-j, --json Output in json format
@ -64,8 +73,8 @@ Options:
-s, --list-sep <SEPARATOR> Print out the listed fetchers with the specified separator,
only used when --list-fetchers or --list-possible-fetchers is
specified
-h, --help Print help information
-V, --version Print version information
-h, --help Print help
-V, --version Print version
```
## Comparison to [nix-prefetch](https://github.com/msteen/nix-prefetch)