@@ -1,22 +1,18 @@
11{ stdenv, fetchurl, libuuid }:
22
3+let version = "3.6.24"; in
34stdenv.mkDerivation rec {
4− name = "reiserfsprogs-3.6.21";
5+ name = "reiserfsprogs-${version}";
56
67 src = fetchurl {
7− url = "http://ftp.be.debian.org/pub/linux/utils/fs/reiserfs/${name}.tar.bz2";
8− sha256 = "19mqzhh6jsf2gh8zr5scqi9pyk1fwivrxncd11rqnp2148c58jam";
8+ url = "https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${version}/${name}.tar.xz";
9+ sha256 = "0q07df9wxxih8714a3mdp61h5n347l7j2a0l351acs3xapzgwi3y";
910 };
1011
1112 buildInputs = [ libuuid ];
1213
13− postInstall =
14− ''
15− ln -s reiserfsck $out/sbin/fsck.reiserfs
16− ln -s mkreiserfs $out/sbin/mkfs.reiserfs
17− '';
18−
1914 meta = {
15+ inherit version;
2016 homepage = http://www.namesys.com/;
2117 description = "ReiserFS utilities";
2218 license = stdenv.lib.licenses.gpl2;