2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip, txt2tags }:
|
2015-09-01 11:23:11 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
rev = "148";
|
|
|
|
version = "hg-2012-12-02";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libixp";
|
2015-09-01 11:23:11 +01:00
|
|
|
|
2016-07-21 19:26:01 +01:00
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/libixp/source-archive.zip";
|
2016-07-21 19:26:01 +01:00
|
|
|
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 = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://repo.cat-v.org/libixp/"; # see also https://libs.suckless.org/deprecated/libixp
|
2015-09-01 11:23:11 +01:00
|
|
|
description = "Portable, simple C-language 9P client and server libary";
|
2021-01-21 17:00:13 +00:00
|
|
|
maintainers = with lib.maintainers; [ kovirobi ];
|
|
|
|
license = lib.licenses.mit;
|
2015-09-01 11:23:11 +01:00
|
|
|
inherit version;
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = with lib.platforms; unix;
|
2015-09-01 11:23:11 +01:00
|
|
|
};
|
|
|
|
}
|