Skip to content

Commit

Permalink
misc: fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Leightcap <[email protected]>
  • Loading branch information
jleightcap committed Aug 8, 2023
1 parent f5861fa commit e221862
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
13 changes: 7 additions & 6 deletions pkgs/lcrq/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ stdenv
, fetchFromGitea
, lib
, ...
{
stdenv,
fetchFromGitea,
lib,
...
}:
stdenv.mkDerivation rec {
name = "lcrq";
Expand All @@ -15,12 +16,12 @@ stdenv.mkDerivation rec {
sha256 = "sha256-s8+uTF6GQ76wG1zoAxqCaVT1J5Rd7vxPKX4zbQx6ro4=";
};

installFlags = [ "PREFIX=$(out)" ];
installFlags = ["PREFIX=$(out)"];

meta = with lib; {
homepage = "https://librecast.net/lcrq.html";
changelog = "https://codeberg.org/librecast/lcrq/src/tag/v${version}/CHANGELOG.md";
description = "Librecast RaptorQ library.";
license = [ licenses.gpl2 licenses.gpl3 ];
license = [licenses.gpl2 licenses.gpl3];
};
}
23 changes: 12 additions & 11 deletions pkgs/lcsync/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{ stdenv
, pkgs
, fetchFromGitea
, lcrq
, librecast
, lib
, ...
{
stdenv,
pkgs,
fetchFromGitea,
lcrq,
librecast,
lib,
...
}:
stdenv.mkDerivation rec {
name = "lcsync";
Expand All @@ -17,16 +18,16 @@ stdenv.mkDerivation rec {
rev = "v${version}";
sha256 = "sha256-RVfa0EmCPPT7ndy94YwD24S9pj7L11ztISaKHGcbTS8=";
};
buildInputs = [ lcrq librecast pkgs.libsodium ];
configureFlags = [ "SETCAP_PROGRAM=true" ];
installFlags = [ "PREFIX=$(out)" ];
buildInputs = [lcrq librecast pkgs.libsodium];
configureFlags = ["SETCAP_PROGRAM=true"];
installFlags = ["PREFIX=$(out)"];
doCheck = true;
postCheck = "exit 1";

meta = with lib; {
homepage = "https://librecast.net/lcsync.html";
changelog = "https://codeberg.org/librecast/lcsync/src/tag/v${version}/CHANGELOG.md";
description = "Librecast File and Syncing Tool";
license = [ licenses.gpl2 licenses.gpl3 ];
license = [licenses.gpl2 licenses.gpl3];
};
}
19 changes: 10 additions & 9 deletions pkgs/librecast/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{ stdenv
, pkgs
, fetchFromGitea
, lcrq
, lib
, ...
{
stdenv,
pkgs,
fetchFromGitea,
lcrq,
lib,
...
}:
stdenv.mkDerivation rec {
name = "librecast";
Expand All @@ -16,13 +17,13 @@ stdenv.mkDerivation rec {
rev = "v${version}";
sha256 = "sha256-AD3MpWg8Lp+VkizwYTuuS2YWM8e0xaMEavVIvwhSZRo=";
};
buildInputs = [ lcrq pkgs.libsodium ];
installFlags = [ "PREFIX=$(out)" ];
buildInputs = [lcrq pkgs.libsodium];
installFlags = ["PREFIX=$(out)"];

meta = with lib; {
homepage = "https://librecast.net/librecast.html";
changelog = "https://codeberg.org/librecast/librecast/src/tag/v${version}/CHANGELOG.md";
description = "IPv6 multicast library";
license = [ licenses.gpl2 licenses.gpl3 ];
license = [licenses.gpl2 licenses.gpl3];
};
}

0 comments on commit e221862

Please sign in to comment.