mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 03:27:38 +03:00
hxtools: init at 20231224
This commit is contained in:
parent
705286d25d
commit
348a1278d9
43
pkgs/by-name/hx/hxtools/package.nix
Normal file
43
pkgs/by-name/hx/hxtools/package.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchurl,
|
||||||
|
pkg-config,
|
||||||
|
zstd,
|
||||||
|
libHX,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "hxtools";
|
||||||
|
version = "20231224";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://inai.de/files/hxtools/hxtools-${finalAttrs.version}.tar.zst";
|
||||||
|
hash = "sha256-TyT9bsp9qqGKQsSyWCfd2lH8ULjqJ5puMTw2TgWHV5c=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
zstd
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libHX
|
||||||
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user