1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, e2fsprogs }:
2
3stdenv.mkDerivation rec {
4 pname = "e2tools";
5 version = "0.1.0";
6
7 src = fetchFromGitHub {
8 owner = "e2tools";
9 repo = "e2tools";
10 rev = "6ee7c2d9015dce7b90c3388096602e307e3bd790";
11 sha256 = "0nlqynrhj6ww7bnfhhfcx6bawii8iyvhgp6vz60zbnpgd68ifcx7";
12 };
13
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15 buildInputs = [ e2fsprogs ];
16
17 enableParallelBuilding = true;
18
19 meta = {
20 homepage = "https://e2tools.github.io/";
21 description = "Utilities to read/write/manipulate files in an ext2/ext3 filesystem";
22 license = lib.licenses.gpl2;
23 platforms = lib.platforms.linux;
24 maintainers = [ lib.maintainers.leenaars ];
25 };
26}