afuse: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-09-19 17:05:45 +02:00
parent ca67994224
commit 3722e4fbcc

View File

@ -1,11 +1,14 @@
{ lib, stdenv, fetchurl, pkg-config, autoreconfHook, fuse }: { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, fuse }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "afuse-0.4.1"; pname = "afuse-0.4.1";
version = "0.4.1";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/pcarrier/afuse/archive/v0.4.1.tar.gz"; owner = "pcarrier";
sha256 = "1sfhicmxppkvdd4z9klfn63snb71gr9hff6xij1gzk94xg6m0ycc"; repo = "afuse";
rev = "v${version}";
hash = "sha256-JivJ/xRxUiR0Mnm41T0514kF+T7ePeGpk4IHhWApKBo=";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];