https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
8 lines
216 B
TOML
8 lines
216 B
TOML
[package]
|
|
name = "git-dependency-branch"
|
|
version = "0.1.0"
|
|
authors = ["Daniël de Kok <me@danieldk.eu>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
rand = { git = "https://github.com/rust-random/rand.git", branch = "master" }
|