From 6f2cc0fc91331b0192a70ab526ca97fb365ccc62 Mon Sep 17 00:00:00 2001 From: rewine Date: Mon, 22 May 2023 18:27:24 +0800 Subject: [PATCH] xmake-core-sv: init at 1.1 --- .../libraries/xmake-core-sv/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/libraries/xmake-core-sv/default.nix diff --git a/pkgs/development/libraries/xmake-core-sv/default.nix b/pkgs/development/libraries/xmake-core-sv/default.nix new file mode 100644 index 000000000000..83442a8d48a9 --- /dev/null +++ b/pkgs/development/libraries/xmake-core-sv/default.nix @@ -0,0 +1,30 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +}: + +stdenv.mkDerivation rec { + pname = "xmake-core-sv"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "xmake-io"; + repo = pname; + rev = "v${version}"; + hash = "sha256-icvGQi6FNSZXNGs2oLiUKu6rrVsWcXh1r91kycGjnwY="; + }; + + nativeBuildInputs = [ + autoreconfHook + ]; + + meta = with lib; { + description = "Public domain cross-platform semantic versioning in c99"; + homepage = "https://github.com/xmake-io/xmake-core-sv"; + license = licenses.unlicense; + platforms = platforms.linux; + maintainers = with maintainers; [ rewine ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 42bfd2693429..7c17a93b06da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24532,6 +24532,8 @@ with pkgs; xgeometry-select = callPackage ../tools/X11/xgeometry-select { }; + xmake-core-sv = callPackage ../development/libraries/xmake-core-sv { }; + xmlada = callPackage ../development/libraries/ada/xmlada { }; xmlrpc_c = callPackage ../development/libraries/xmlrpc-c { };