summary refs log tree commit diff
path: root/pkgs/os-specific/linux/erofs-utils
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2023-05-10 11:39:05 +0100
committerEmery Hemingway <ehmry@posteo.net>2023-05-10 11:39:29 +0100
commitf134012d9487143ad14d375e0f7965747e054ef8 (patch)
tree5737e19bd7d8963871dd6abd2f22a78d3dbd4e56 /pkgs/os-specific/linux/erofs-utils
parent897876e4c484f1e8f92009fd11b7d988a121a4e7 (diff)
downloadnixpkgs-f134012d9487143ad14d375e0f7965747e054ef8.tar
nixpkgs-f134012d9487143ad14d375e0f7965747e054ef8.tar.gz
nixpkgs-f134012d9487143ad14d375e0f7965747e054ef8.tar.bz2
nixpkgs-f134012d9487143ad14d375e0f7965747e054ef8.tar.lz
nixpkgs-f134012d9487143ad14d375e0f7965747e054ef8.tar.xz
nixpkgs-f134012d9487143ad14d375e0f7965747e054ef8.tar.zst
nixpkgs-f134012d9487143ad14d375e0f7965747e054ef8.zip
erofs-utils: 1.5 -> 1.6
Fix #230945
Diffstat (limited to 'pkgs/os-specific/linux/erofs-utils')
-rw-r--r--pkgs/os-specific/linux/erofs-utils/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/erofs-utils/default.nix b/pkgs/os-specific/linux/erofs-utils/default.nix
index 547e6cc651a..d84edfc56d9 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;
   };