at v206 27 lines 670 B view raw
1{ stdenv, fetchhg, txt2tags }: 2 3stdenv.mkDerivation rec { 4 rev = "148"; 5 version = "hg-2012-12-02"; 6 name = "libixp-${version}"; 7 8 src = fetchhg { 9 url = https://code.google.com/p/libixp/; 10 sha256 = "1nbnh2ff18fsrs28mx4bfgncq1d1nw5dd6iwhwvv5x2g9w7q5vvj"; 11 inherit rev; 12 }; 13 14 configurePhase = '' 15 sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk 16 ''; 17 18 buildInputs = [ txt2tags ]; 19 20 meta = { 21 homepage = https://code.google.com/p/libixp/; 22 description = "Portable, simple C-language 9P client and server libary"; 23 maintainers = with stdenv.lib.maintainers; [ kovirobi ]; 24 license = stdenv.lib.licenses.mit; 25 inherit version; 26 }; 27}