mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
32 lines
776 B
Nix
32 lines
776 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 = with lib; {
|
|
description = "Visual Interface heXadecimal dump";
|
|
homepage = "http://actinid.org/vix/";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.ehmry ];
|
|
mainProgram = "vix";
|
|
# sys/io.h missing on other platforms
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|