1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/tools/text/hyx/default.nix
Jörg Thalheim 80318523af
hyx: limit to linux
clock_gettime is not available on macOS
2018-11-10 09:38:23 +00:00

25 lines
574 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "hyx-0.1.5";
src = fetchurl {
url = "https://yx7.cc/code/hyx/${name}.tar.xz";
sha256 = "0gd8fbdyw12jwffa5dgcql4ry22xbdhqdds1qwzk1rkcrkgnc1mg";
};
patches = [ ./no-wall-by-default.patch ];
installPhase = ''
install -vD hyx $out/bin/hyx
'';
meta = with lib; {
description = "minimalistic but powerful Linux console hex editor";
homepage = https://yx7.cc/code/;
license = licenses.mit;
maintainers = with maintainers; [ fpletz ];
platforms = platforms.linux;
};
}