libinotify-kqueue: switch to fetchFromGitHub
This commit is contained in:
parent
e1e5974551
commit
dace3e7c0e
|
@ -1,12 +1,14 @@
|
||||||
{ lib, stdenv, fetchzip, autoreconfHook }:
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libinotify-kqueue";
|
pname = "libinotify-kqueue";
|
||||||
version = "20180201";
|
version = "20180201";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/libinotify-kqueue/libinotify-kqueue/archive/${version}.tar.gz";
|
owner = "libinotify-kqueue";
|
||||||
sha256 = "0dkh6n0ghhcl7cjkjmpin118h7al6i4vlkmw57vip5f6ngr6q3pl";
|
repo = "libinotify-kqueue";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-9A5s8rPGlRv3KbxOukk0VB2IQrDxVjklO5RB+IA1cDY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
Loading…
Reference in a new issue