hunspell: switch to fetchFromGitHub
This commit is contained in:
parent
6b1ea4c5bd
commit
7e2fff28e7
|
@ -1,12 +1,14 @@
|
||||||
{ lib, stdenv, fetchurl, fetchpatch, ncurses, readline, autoreconfHook }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, readline, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.7.0";
|
version = "1.7.0";
|
||||||
pname = "hunspell";
|
pname = "hunspell";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/hunspell/hunspell/archive/v${version}.tar.gz";
|
owner = "hunspell";
|
||||||
sha256 = "12mwwqz6qkx7q1lg9vpjiiwh4fk4c8xs6g6g0xa2ia0hp5pbh9xv";
|
repo = "hunspell";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-YSJztik0QTZFNR8k8Xu1hakyE16NziDavYVkEUCbtGM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "bin" "dev" "out" "man" ];
|
outputs = [ "bin" "dev" "out" "man" ];
|
||||||
|
|
Loading…
Reference in a new issue