nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

afuse: switch to fetchFromGitHub

+9 -6
+9 -6
pkgs/os-specific/linux/afuse/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, autoreconfHook, fuse }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, fuse }: 2 2 3 - stdenv.mkDerivation { 4 - name = "afuse-0.4.1"; 3 + stdenv.mkDerivation rec { 4 + pname = "afuse-0.4.1"; 5 + version = "0.4.1"; 5 6 6 - src = fetchurl { 7 - url = "https://github.com/pcarrier/afuse/archive/v0.4.1.tar.gz"; 8 - sha256 = "1sfhicmxppkvdd4z9klfn63snb71gr9hff6xij1gzk94xg6m0ycc"; 7 + src = fetchFromGitHub { 8 + owner = "pcarrier"; 9 + repo = "afuse"; 10 + rev = "v${version}"; 11 + hash = "sha256-JivJ/xRxUiR0Mnm41T0514kF+T7ePeGpk4IHhWApKBo="; 9 12 }; 10 13 11 14 nativeBuildInputs = [ autoreconfHook pkg-config ];