nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 37 lines 787 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 SDL, 7}: 8 9stdenv.mkDerivation { 10 pname = "vix"; 11 version = "0.1.2"; 12 13 src = fetchFromGitHub { 14 owner = "BatchDrake"; 15 repo = "vix"; 16 rev = "824b6755157a0f7430a0be0af454487d1492204d"; 17 sha256 = "1y0a2sajkrsg36px21b8lgx1irf0pyj7hccyd6k806bm4zhgxw1z"; 18 }; 19 20 nativeBuildInputs = [ autoreconfHook ]; 21 22 configureFlags = [ 23 (lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest") 24 ]; 25 26 buildInputs = [ SDL ]; 27 28 meta = with lib; { 29 description = "Visual Interface heXadecimal dump"; 30 homepage = "http://actinid.org/vix/"; 31 license = licenses.gpl3; 32 maintainers = [ maintainers.ehmry ]; 33 mainProgram = "vix"; 34 # sys/io.h missing on other platforms 35 platforms = [ "x86_64-linux" ]; 36 }; 37}