mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
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>
37 lines
740 B
Nix
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" ];
|
|
};
|
|
}
|