blob: a8ff6ac6d242ce66f09148a426f56024d4d9df2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
lib,
stdenv,
fetchFromCodeberg,
pkg-config,
autoreconfHook,
bash,
perl,
perlPackages,
libhx,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hxtools";
version = "20251011";
src = fetchFromCodeberg {
tag = "rel-${finalAttrs.version}";
owner = "jengelh";
repo = "hxtools";
hash = "sha256-qwo8QfC1ZEvMTU7g2ZnIX3WQM+xjSPb6Y/inPI20x/g=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
# Perl and Bash are pulled to make patchShebangs work.
perl
bash
libhx
]
++ (with perlPackages; [ TextCSV_XS ]);
strictDeps = true;
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://inai.de/projects/hxtools/";
description = "Collection of small tools over the years by j.eng";
# Taken from https://codeberg.org/jengelh/hxtools/src/branch/master/LICENSES.txt
license = with lib.licenses; [
mit
bsd2Patent
lgpl21Plus
gpl2Plus
];
maintainers = with lib.maintainers; [
meator
chillcicada
];
platforms = lib.platforms.all;
};
})
|