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
169 B
Nix
8 lines
169 B
Nix
{ fetchFromGitHub }:
|
|
|
|
fetchFromGitHub {
|
|
owner = "guzba";
|
|
repo = "supersnappy";
|
|
rev = "2.1.1";
|
|
sha256 = "03df1qgrbp84swhqy12ansyn951lkaw0kf1arbnki4fkgdnqdamf";
|
|
}
|