add path fetcher
This commit is contained in:
parent
e1c40a679c
commit
2a3f2cfce8
@ -31,6 +31,7 @@
|
|||||||
let
|
let
|
||||||
const = x: y: x;
|
const = x: y: x;
|
||||||
|
|
||||||
|
fetchers.path = attrs: attrs.src.path;
|
||||||
fetchers.gem = attrs: fetchurl {
|
fetchers.gem = attrs: fetchurl {
|
||||||
url = "${attrs.src.source or "https://rubygems.org"}/downloads/${attrs.name}-${attrs.version}.gem";
|
url = "${attrs.src.source or "https://rubygems.org"}/downloads/${attrs.name}-${attrs.version}.gem";
|
||||||
inherit (attrs.src) sha256;
|
inherit (attrs.src) sha256;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user