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 = "Araq";
|
|
repo = "packedjson";
|
|
rev = "d11d167";
|
|
sha256 = "1302rn58277c3ic5sfq89c4mkn0d66bhilifh5xjf40x74ahir5x";
|
|
}
|