mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
28 lines
794 B
Nix
28 lines
794 B
Nix
{ stdenv, fetchurl, unzip, txt2tags }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
rev = "148";
|
|
version = "hg-2012-12-02";
|
|
name = "libixp-${version}";
|
|
|
|
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 = https://code.google.com/archive/p/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;
|
|
};
|
|
}
|