diff --git a/pkgs/applications/networking/sync/lcsync/default.nix b/pkgs/applications/networking/sync/lcsync/default.nix new file mode 100644 index 000000000000..1d06ee1e4fd6 --- /dev/null +++ b/pkgs/applications/networking/sync/lcsync/default.nix @@ -0,0 +1,33 @@ +{ + fetchFromGitea, + lcrq, + lib, + librecast, + libsodium, + stdenv +}: +stdenv.mkDerivation (finalAttrs: { + name = "lcsync"; + version = "0.2.1"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "librecast"; + repo = "lcsync"; + rev = "v${finalAttrs.version}"; + hash = "sha256-RVfa0EmCPPT7ndy94YwD24S9pj7L11ztISaKHGcbTS8="; + }; + buildInputs = [ lcrq librecast libsodium ]; + configureFlags = [ "SETCAP_PROGRAM=true" ]; + installFlags = [ "PREFIX=$(out)" ]; + doCheck = true; + + meta = { + changelog = "https://codeberg.org/librecast/lcsync/src/tag/v${finalAttrs.version}/CHANGELOG.md"; + description = "Librecast File and Syncing Tool"; + homepage = "https://librecast.net/lcsync.html"; + license = [ lib.licenses.gpl2 lib.licenses.gpl3 ]; + maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ]; + platforms = lib.platforms.gnu; + }; +}) diff --git a/pkgs/development/libraries/lcrq/default.nix b/pkgs/development/libraries/lcrq/default.nix new file mode 100644 index 000000000000..8b3520179860 --- /dev/null +++ b/pkgs/development/libraries/lcrq/default.nix @@ -0,0 +1,28 @@ +{ + stdenv, + fetchFromGitea, + lib +}: +stdenv.mkDerivation (finalAttrs: { + name = "lcrq"; + version = "0.1.0"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "librecast"; + repo = "lcrq"; + rev = "v${finalAttrs.version}"; + hash = "sha256-s8+uTF6GQ76wG1zoAxqCaVT1J5Rd7vxPKX4zbQx6ro4="; + }; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = { + changelog = "https://codeberg.org/librecast/lcrq/src/tag/v${finalAttrs.version}/CHANGELOG.md"; + description = "Librecast RaptorQ library."; + homepage = "https://librecast.net/lcrq.html"; + license = [ lib.licenses.gpl2 lib.licenses.gpl3 ]; + maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ]; + platforms = lib.platforms.gnu; + }; +}) diff --git a/pkgs/development/libraries/librecast/default.nix b/pkgs/development/libraries/librecast/default.nix new file mode 100644 index 000000000000..1e8d02bf508d --- /dev/null +++ b/pkgs/development/libraries/librecast/default.nix @@ -0,0 +1,30 @@ +{ + stdenv, + fetchFromGitea, + lcrq, + lib, + libsodium, +}: +stdenv.mkDerivation (finalAttrs: { + name = "librecast"; + version = "0.7-RC3"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "librecast"; + repo = "librecast"; + rev = "v${finalAttrs.version}"; + hash = "sha256-AD3MpWg8Lp+VkizwYTuuS2YWM8e0xaMEavVIvwhSZRo="; + }; + buildInputs = [ lcrq libsodium ]; + installFlags = [ "PREFIX=$(out)" ]; + + meta = { + changelog = "https://codeberg.org/librecast/librecast/src/tag/v${finalAttrs.version}/CHANGELOG.md"; + description = "IPv6 multicast library"; + homepage = "https://librecast.net/librecast.html"; + license = [ lib.licenses.gpl2 lib.licenses.gpl3 ]; + maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ]; + platforms = lib.platforms.gnu; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8b70c7c332cb..e9e471f8a598 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10148,6 +10148,8 @@ with pkgs; lcdf-typetools = callPackage ../tools/misc/lcdf-typetools { }; + lcsync = callPackage ../applications/networking/sync/lcsync { }; + ldapdomaindump = with python3Packages; toPythonApplication ldapdomaindump; ldapmonitor = callPackage ../tools/security/ldapmonitor { }; @@ -22212,6 +22214,8 @@ with pkgs; lcms2 = callPackage ../development/libraries/lcms2 { }; + lcrq = callPackage ../development/libraries/lcrq { }; + ldacbt = callPackage ../development/libraries/ldacbt { }; ldb = callPackage ../development/libraries/ldb { }; @@ -22931,6 +22935,8 @@ with pkgs; libre = callPackage ../development/libraries/libre { }; + librecast = callPackage ../development/libraries/librecast { }; + libredwg = callPackage ../development/libraries/libredwg { }; librem = callPackage ../development/libraries/librem { };