1 { lib, stdenv, fetchFromGitHub, unzip, txt2tags }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2022-04-04";
7 src = fetchFromGitHub {
10 rev = "ca2acb2988e4f040022f0e2094c69ab65fa6ec53";
11 hash = "sha256-S25DmXJ7fN0gXLV0IzUdz8hXPTYEHmaSG7Mnli6GQVc=";
14 postPatch = lib.optionalString stdenv.cc.isClang ''
15 substituteInPlace mk/ixp.mk \
20 sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk
23 nativeBuildInputs = [ unzip ];
24 buildInputs = [ txt2tags ];
27 homepage = "https://github.com/0intro/libixp";
28 description = "Portable, simple C-language 9P client and server libary";
29 maintainers = with lib.maintainers; [ kovirobi ];
30 license = lib.licenses.mit;
31 platforms = with lib.platforms; unix;