nixpkgs/pkgs/development/libraries/libwbxml/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
768 B
Nix
Raw Normal View History

2022-02-28 18:03:03 +00:00
{ stdenv, fetchFromGitHub, lib, cmake, expat }:
stdenv.mkDerivation rec {
pname = "libwbxml";
2022-03-05 10:36:39 +00:00
version = "0.11.8";
2022-02-28 18:03:03 +00:00
src = fetchFromGitHub {
owner = "libwbxml";
repo = "libwbxml";
rev = "${pname}-${version}";
2022-03-05 10:36:39 +00:00
sha256 = "sha256-WCVKfIk6R2rVaz1SbJL9eLqNC0f4VzL74Sw2IKdDE9I=";
2022-02-28 18:03:03 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ expat ];
postPatch = ''
sed -i 's/^SET.*$//' cmake/CMakeLists.txt
'';
meta = with lib; {
homepage = "https://github.com/libwbxml/libwbxml";
description = "The WBXML Library (aka libwbxml) contains a library and its associated tools to Parse, Encode and Handle WBXML documents";
maintainers = with maintainers; [ mh ];
platforms = platforms.linux;
license = licenses.lgpl21Plus;
};
}