diff --git a/pkgs/os-specific/linux/erofs-utils/default.nix b/pkgs/os-specific/linux/erofs-utils/default.nix index 547e6cc651ab..d84edfc56d95 100644 --- a/pkgs/os-specific/linux/erofs-utils/default.nix +++ b/pkgs/os-specific/linux/erofs-utils/default.nix @@ -1,15 +1,14 @@ -{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, fuse, libuuid, lz4 }: +{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, fuse, libuuid, lz4 }: stdenv.mkDerivation rec { pname = "erofs-utils"; - version = "1.5"; + version = "1.6"; outputs = [ "out" "man" ]; - src = fetchgit { + src = fetchurl { url = - "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"; - rev = "v" + version; - sha256 = "sha256-vMWAmGMJp0XDuc4sbo6Y7gfCQVAo4rETea0Tkdbg82U="; + "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/erofs-utils-${version}.tar.gz"; + sha256 = "sha256-2/Gtrv8buFMrKacsip4ZGTjJOJlGdw3HY9PFnm8yBXE="; }; nativeBuildInputs = [ autoreconfHook pkg-config ]; @@ -19,7 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Userspace utilities for linux-erofs file system"; - license = with licenses; [ gpl2 ]; + license = with licenses; [ gpl2Plus ]; maintainers = with maintainers; [ ehmry ]; platforms = platforms.linux; };