x11basic: 1.27 -> 1.28-65

This commit is contained in:
Weijia Wang
2025-09-05 00:46:56 +02:00
parent 8b50aa2f63
commit 0fe345900d
2 changed files with 21 additions and 18 deletions
+21 -14
View File
@@ -1,9 +1,9 @@
{
lib,
stdenv,
fetchFromGitHub,
automake,
autoconf,
fetchFromGitea,
autoreconfHook,
fig2dev,
readline,
libX11,
bluez,
@@ -11,19 +11,28 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "X11basic";
version = "1.27";
pname = "x11basic";
version = "1.28-65";
src = fetchFromGitHub {
owner = "kollokollo";
repo = "X11basic";
rev = finalAttrs.version;
sha256 = "1hpxzdqnjl1fiwgs2vrjg4kxm29c7pqwk3g1m4p5pm4x33a3d1q2";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "kollo";
repo = "X11Basic";
tag = finalAttrs.version;
hash = "sha256-07sRUFKJ4CYMtQhRu18PElvNQN2DyKkRJUt7oIhenkA=";
};
sourceRoot = "${finalAttrs.src.name}/src";
postPatch = ''
chmod -R u+w examples/compiler
substituteInPlace configure.in \
--replace-fail "main(foo)" "int main(int foo)"
'';
nativeBuildInputs = [
autoconf
automake
autoreconfHook
fig2dev
];
buildInputs = [
@@ -33,8 +42,6 @@ stdenv.mkDerivation (finalAttrs: {
bluez
];
preConfigure = "cd src;autoconf";
configureFlags = [
"--with-bluetooth"
"--with-usb"
-4
View File
@@ -13515,10 +13515,6 @@ with pkgs;
wsjtx = qt5.callPackage ../applications/radio/wsjtx { };
x11basic = callPackage ../by-name/x1/x11basic/package.nix {
autoconf = buildPackages.autoconf269;
};
x2goclient = callPackage ../applications/networking/remote/x2goclient { };
x2gokdriveclient = libsForQt5.callPackage ../applications/networking/remote/x2gokdriveclient { };