2018-01-27 00:42:18 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-07-22 08:39:55 +00:00
|
|
|
pname = "hyx";
|
|
|
|
version = "2020-06-09";
|
2018-01-27 00:42:18 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-07-22 08:39:55 +00:00
|
|
|
url = "https://yx7.cc/code/hyx/hyx-${lib.replaceStrings [ "-" ] [ "." ] version}.tar.xz";
|
|
|
|
sha256 = "1x8dmll93hrnj24kn5knpwj36y6r1v2ygwynpjwrg2hwd4c1a8hi";
|
2018-01-27 00:42:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -vD hyx $out/bin/hyx
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "minimalistic but powerful Linux console hex editor";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://yx7.cc/code/";
|
2018-01-27 00:42:18 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2018-11-10 09:38:23 +00:00
|
|
|
platforms = platforms.linux;
|
2018-01-27 00:42:18 +00:00
|
|
|
};
|
|
|
|
}
|