9 stdenv.mkDerivation rec {
11 version = "unstable-2022-04-04";
13 src = fetchFromGitHub {
16 rev = "ca2acb2988e4f040022f0e2094c69ab65fa6ec53";
17 hash = "sha256-S25DmXJ7fN0gXLV0IzUdz8hXPTYEHmaSG7Mnli6GQVc=";
20 postPatch = lib.optionalString stdenv.cc.isClang ''
21 substituteInPlace mk/ixp.mk \
26 sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk
29 nativeBuildInputs = [ unzip ];
30 buildInputs = [ txt2tags ];
33 homepage = "https://github.com/0intro/libixp";
34 description = "Portable, simple C-language 9P client and server library";
36 maintainers = with lib.maintainers; [ kovirobi ];
37 license = lib.licenses.mit;
38 platforms = with lib.platforms; unix;