diff --git a/pkgs/development/libraries/libixp-hg/default.nix b/pkgs/development/libraries/libixp-hg/default.nix new file mode 100644 index 000000000000..456e1de25dfc --- /dev/null +++ b/pkgs/development/libraries/libixp-hg/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchhg, txt2tags }: + +stdenv.mkDerivation rec { + rev = "148"; + version = "hg-2012-12-02"; + name = "libixp-${version}"; + + src = fetchhg { + url = https://code.google.com/p/libixp/; + sha256 = "1nbnh2ff18fsrs28mx4bfgncq1d1nw5dd6iwhwvv5x2g9w7q5vvj"; + inherit rev; + }; + + configurePhase = '' + sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk + ''; + + buildInputs = [ txt2tags ]; + + meta = { + homepage = https://code.google.com/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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dfa4cfc30331..ed86a7dfda2d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7560,6 +7560,8 @@ let inherit fetchurl stdenv; }); + libixp_hg = callPackage ../development/libraries/libixp-hg { }; + libyaml = callPackage ../development/libraries/libyaml { }; libyamlcpp = callPackage ../development/libraries/libyaml-cpp { };