-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from ngi-nix/moss-lcsync
librecast: package lcsync Towards #3. This PR packages `lcsync`. We previously packaged its 2 dependencies [`lcrq`](#35) and [`librecast`](#36). According to [this comment by @cleeyv](ngi-nix/ngi#122 (comment)), these 3 packages were the main targets. We will now reach out to Librecast maintainers for guidance on any other packages in their project that we should work on.
- Loading branch information
Showing
4 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
stdenv, | ||
pkgs, | ||
fetchFromGitea, | ||
lcrq, | ||
librecast, | ||
lib, | ||
... | ||
}: | ||
stdenv.mkDerivation rec { | ||
name = "lcsync"; | ||
version = "0.2.1"; | ||
|
||
src = fetchFromGitea { | ||
domain = "codeberg.org"; | ||
owner = "librecast"; | ||
repo = "lcsync"; | ||
rev = "v${version}"; | ||
sha256 = "sha256-RVfa0EmCPPT7ndy94YwD24S9pj7L11ztISaKHGcbTS8="; | ||
}; | ||
buildInputs = [lcrq librecast pkgs.libsodium]; | ||
configureFlags = ["SETCAP_PROGRAM=true"]; | ||
installFlags = ["PREFIX=$(out)"]; | ||
doCheck = true; | ||
|
||
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]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters