summary refs log tree commit diff
path: root/pkgs/development/libraries/libixp-hg/default.nix
blob: 1790f3f68b2add9ec09d4170c4c9f0edb9451f61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, unzip, txt2tags }:

stdenv.mkDerivation rec {
  rev = "148";
  version = "hg-2012-12-02";
  pname = "libixp";

  src = fetchurl {
    url = https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/libixp/source-archive.zip;
    sha256 = "0kcdvdcrkw6q39v563ncis6d7ini64xbgn5fd3b4aa95fp9sj3is";
  };

  configurePhase = ''
   sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk
  '';

  buildInputs = [ unzip txt2tags ];

  meta = {
    homepage = http://repo.cat-v.org/libixp/; # see also https://libs.suckless.org/deprecated/libixp
    description = "Portable, simple C-language 9P client and server libary";
    maintainers = with stdenv.lib.maintainers; [ kovirobi ];
    license = stdenv.lib.licenses.mit;
    inherit version;
    platforms = with stdenv.lib.platforms; unix;
  };
}