6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
11 owner = "dj-on-github";
14 hash = "sha256-nfOmiF+t5QtAl1I7CSz26C9SGo7ZkdSziO2eiHbk6pA=";
18 substituteInPlace Makefile --replace '/usr/local' $out
22 lib.optionalString (!stdenv.hostPlatform.isx86_64) ''
23 sed -i s/-m64//g Makefile
26 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
28 enableParallelBuilding = true;
31 homepage = "https://github.com/dj-on-github/hexbinhex";
33 Six utility programs to convert between hex, binary, ascii-binary
34 and the oddball NIST format for 90B testing.
36 license = lib.licenses.gpl2Only;
37 platforms = lib.platforms.all;
38 maintainers = with lib.maintainers; [ orichter thillux ];