2016-07-21 19:26:01 +01:00
|
|
|
{ stdenv, fetchurl, unzip, txt2tags }:
|
2015-09-01 11:23:11 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
rev = "148";
|
|
|
|
version = "hg-2012-12-02";
|
|
|
|
name = "libixp-${version}";
|
|
|
|
|
2016-07-21 19:26:01 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/libixp/source-archive.zip;
|
|
|
|
sha256 = "0kcdvdcrkw6q39v563ncis6d7ini64xbgn5fd3b4aa95fp9sj3is";
|
2015-09-01 11:23:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk
|
|
|
|
'';
|
|
|
|
|
2016-07-21 19:26:01 +01:00
|
|
|
buildInputs = [ unzip txt2tags ];
|
2015-09-01 11:23:11 +01:00
|
|
|
|
|
|
|
meta = {
|
2016-07-21 19:26:01 +01:00
|
|
|
homepage = https://code.google.com/archive/p/libixp/;
|
2015-09-01 11:23:11 +01:00
|
|
|
description = "Portable, simple C-language 9P client and server libary";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ kovirobi ];
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
inherit version;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2015-09-01 11:23:11 +01:00
|
|
|
};
|
|
|
|
}
|