snapper: 0.12.2 -> 0.13.0

Diff: https://github.com/openSUSE/snapper/compare/v0.12.2...v0.13.0

kyehn ea3e1e0e d1231866

+13 -15
+13 -15
pkgs/by-name/sn/snapper/package.nix
··· 25 25 zlib, 26 26 }: 27 27 28 - stdenv.mkDerivation rec { 28 + stdenv.mkDerivation (finalAttrs: { 29 29 pname = "snapper"; 30 - version = "0.12.2"; 30 + version = "0.13.0"; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "openSUSE"; 34 34 repo = "snapper"; 35 - rev = "v${version}"; 36 - sha256 = "sha256-SHwF9FMfrrf2IXrGjT/lTI8rDltVkRXkAQ9MpeNVeWw="; 35 + tag = "v${finalAttrs.version}"; 36 + hash = "sha256-8rIjfulMuh4HzZv08bX7gveJAo2X2GvswmBD3Ziu0NM="; 37 37 }; 38 38 39 39 strictDeps = true; ··· 62 62 zlib 63 63 ]; 64 64 65 - passthru.tests.snapper = nixosTests.snapper; 66 - 65 + # Hard-coded root paths, hard-coded root paths everywhere... 67 66 postPatch = '' 68 - # Hard-coded root paths, hard-coded root paths everywhere... 69 - for file in {client,client/installation-helper,client/systemd-helper,data,pam,scripts,zypp-plugin}/Makefile.am; do 67 + for file in {client/installation-helper,client/systemd-helper,data,scripts,zypp-plugin,scripts/completion}/Makefile.am; do 70 68 substituteInPlace $file \ 71 - --replace '$(DESTDIR)/usr' "$out" \ 72 - --replace "DESTDIR" "out" \ 73 - --replace "/usr" "$out" 69 + --replace-warn '$(DESTDIR)/usr' "$out" \ 70 + --replace-warn "DESTDIR" "out" \ 71 + --replace-warn "/usr" "$out" 74 72 done 75 - substituteInPlace pam/Makefile.am \ 76 - --replace '/`basename $(libdir)`' "$out/lib" 77 73 ''; 78 74 79 75 configureFlags = [ ··· 92 88 $out/lib/systemd/system/* \ 93 89 $out/share/dbus-1/system-services/* \ 94 90 ; do 95 - substituteInPlace $file --replace "/usr" "$out" 91 + substituteInPlace $file --replace-warn "/usr" "$out" 96 92 done 97 93 ''; 94 + 95 + passthru.tests.snapper = nixosTests.snapper; 98 96 99 97 meta = { 100 98 description = "Tool for Linux filesystem snapshot management"; ··· 104 102 maintainers = with lib.maintainers; [ markuskowa ]; 105 103 platforms = lib.platforms.linux; 106 104 }; 107 - } 105 + })