mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
ocsigen-i18n: switch to fetchFromGitHub
This commit is contained in:
parent
f7c07825b9
commit
8f1a669d9f
@ -1,7 +1,6 @@
|
||||
{ lib, stdenv, fetchzip, ocamlPackages }:
|
||||
{ lib, stdenv, fetchFromGitHub, ocamlPackages }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocsigen-i18n";
|
||||
version = "3.7.0";
|
||||
|
||||
@ -14,8 +13,10 @@ stdenv.mkDerivation rec
|
||||
make bindir=$out/bin install
|
||||
'';
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/besport/${pname}/archive/${version}.tar.gz";
|
||||
src = fetchFromGitHub {
|
||||
owner = "besport";
|
||||
repo = "ocsigen-i18n";
|
||||
rev = version;
|
||||
sha256 = "sha256-PmdDyn+MUcNFrZpP/KLGQzdXUFRr+dYRAZjTZxHSeaw=";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user