diff options
author | Markus Heinrich <68288772+markus-heinrich@users.noreply.github.com> | 2022-02-28 19:03:03 +0100 |
---|---|---|
committer | Markus Heinrich <68288772+markus-heinrich@users.noreply.github.com> | 2022-02-28 19:03:03 +0100 |
commit | f44738730cac535423b58c148cbae58c22df3dc7 (patch) | |
tree | 0d2e116cd34a26b6cd335c6ac51420f4bcd9d448 /pkgs/development/libraries/libwbxml | |
parent | 0ff86e21b27dd209e3098be94d088e076bdc27b3 (diff) |
libwbxml: init at 0.11.7
Diffstat (limited to 'pkgs/development/libraries/libwbxml')
-rw-r--r-- | pkgs/development/libraries/libwbxml/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libwbxml/default.nix b/pkgs/development/libraries/libwbxml/default.nix new file mode 100644 index 0000000000000..d9446d8c8587b --- /dev/null +++ b/pkgs/development/libraries/libwbxml/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, lib, cmake, expat }: + +stdenv.mkDerivation rec { + pname = "libwbxml"; + version = "0.11.7"; + + src = fetchFromGitHub { + owner = "libwbxml"; + repo = "libwbxml"; + rev = "${pname}-${version}"; + sha256 = "sha256:1b81rbkd28d9059vh8n5gql73crp8h7av67kkmr6lhicl08fv2xx"; + }; + + 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; + }; +} |