Files
nixpkgs/pkgs/by-name/vi/vix/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
740 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
SDL,
}:
stdenv.mkDerivation {
pname = "vix";
version = "0.1.2";
src = fetchFromGitHub {
owner = "BatchDrake";
repo = "vix";
rev = "824b6755157a0f7430a0be0af454487d1492204d";
sha256 = "1y0a2sajkrsg36px21b8lgx1irf0pyj7hccyd6k806bm4zhgxw1z";
};
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
];
buildInputs = [ SDL ];
meta = {
description = "Visual Interface heXadecimal dump";
homepage = "http://actinid.org/vix/";
license = lib.licenses.gpl3;
mainProgram = "vix";
# sys/io.h missing on other platforms
platforms = [ "x86_64-linux" ];
};
}