From e43880bd35343c577579a18e89ff57bc953f4530 Mon Sep 17 00:00:00 2001 From: misuzu Date: Mon, 10 May 2021 16:09:28 +0300 Subject: [PATCH 1/3] usrsctp: init at 0.9.5.0 --- .../development/libraries/usrsctp/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/usrsctp/default.nix diff --git a/pkgs/development/libraries/usrsctp/default.nix b/pkgs/development/libraries/usrsctp/default.nix new file mode 100644 index 00000000000..64b1debc0ce --- /dev/null +++ b/pkgs/development/libraries/usrsctp/default.nix @@ -0,0 +1,23 @@ +{ stdenv, lib, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + pname = "usrsctp"; + version = "0.9.5.0"; + + src = fetchFromGitHub { + owner = "sctplab"; + repo = "usrsctp"; + rev = version; + sha256 = "10ndzkip8blgkw572n3dicl6mgjaa7kygwn3vls80liq92vf1sa9"; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + homepage = "https://github.com/sctplab/usrsctp"; + description = "A portable SCTP userland stack"; + maintainers = with maintainers; [ misuzu ]; + license = licenses.bsd3; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 11d313fc0ed..ba034d3bc4b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18004,6 +18004,8 @@ in ustr = callPackage ../development/libraries/ustr { }; + usrsctp = callPackage ../development/libraries/usrsctp { }; + usbredir = callPackage ../development/libraries/usbredir { }; uthash = callPackage ../development/libraries/uthash { }; From 9439bb5316015c6bfa9b957e606ee8f9f4298a94 Mon Sep 17 00:00:00 2001 From: misuzu Date: Mon, 10 May 2021 16:09:46 +0300 Subject: [PATCH 2/3] psi-plus: 1.4.1473 -> 1.5.1520 --- .../instant-messengers/psi-plus/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix index 1112a3215c9..50bbd9269e4 100644 --- a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix +++ b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix @@ -1,18 +1,19 @@ -{ mkDerivation, lib, fetchFromGitHub, cmake +{ lib, mkDerivation, fetchFromGitHub, cmake , qtbase, qtmultimedia, qtx11extras, qttools, qtwebengine -, libidn, qca-qt5, libsecret, libXScrnSaver, hunspell -, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c +, libidn, qca-qt5, libXScrnSaver, hunspell +, libsecret, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c +, usrsctp }: mkDerivation rec { pname = "psi-plus"; - version = "1.4.1473"; + version = "1.5.1520"; src = fetchFromGitHub { owner = "psi-plus"; repo = "psi-plus-snapshots"; rev = version; - sha256 = "03f28zwbjn6fnsm0fqg8lmc11rpfdfvzjf7k7xydc3lzy8pxbds5"; + sha256 = "0cj811qv0n8xck2qrnps2ybzrpvyjqz7nxkyccpaivq6zxj6mc12"; }; cmakeFlags = [ @@ -23,12 +24,13 @@ mkDerivation rec { buildInputs = [ qtbase qtmultimedia qtx11extras qtwebengine - libidn qca-qt5 libsecret libXScrnSaver hunspell - libgcrypt libotr html-tidy libgpgerror libsignal-protocol-c + libidn qca-qt5 libXScrnSaver hunspell + libsecret libgcrypt libotr html-tidy libgpgerror libsignal-protocol-c + usrsctp ]; meta = with lib; { - homepage = "https://sourceforge.net/projects/psiplus/"; + homepage = "https://psi-plus.com"; description = "XMPP (Jabber) client"; maintainers = with maintainers; [ orivej misuzu ]; license = licenses.gpl2; From ab76abeaf94c3d7e93319d8e6cd73d5c6d3d88e0 Mon Sep 17 00:00:00 2001 From: misuzu Date: Mon, 10 May 2021 17:07:42 +0300 Subject: [PATCH 3/3] psi-plus: update license to gpl2Only --- .../networking/instant-messengers/psi-plus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix index 50bbd9269e4..03f8f7b961a 100644 --- a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix +++ b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix @@ -33,7 +33,7 @@ mkDerivation rec { homepage = "https://psi-plus.com"; description = "XMPP (Jabber) client"; maintainers = with maintainers; [ orivej misuzu ]; - license = licenses.gpl2; + license = licenses.gpl2Only; platforms = platforms.linux; }; }