added j-jzk lanshare
This commit is contained in:
parent
1d4a828967
commit
f1012ade57
4 changed files with 30 additions and 0 deletions
|
@ -73,6 +73,7 @@
|
|||
in
|
||||
{
|
||||
uv-bin = pkgs.callPackage ./packages/uv { };
|
||||
lanshare = pkgs.callPackage ./packages/lanshare { };
|
||||
};
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||
hydraJobs = {
|
||||
|
|
|
@ -39,6 +39,7 @@ in
|
|||
losslesscut-bin
|
||||
qcad
|
||||
bottles
|
||||
lanshare
|
||||
];
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
|
|
|
@ -6,6 +6,7 @@ in
|
|||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
uv-bin = self.packages.x86_64-linux.uv-bin;
|
||||
lanshare = self.packages.x86_64-linux.lanshare;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
27
packages/lanshare/default.nix
Normal file
27
packages/lanshare/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "lanshare";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "j-jzk";
|
||||
repo = "lanshare";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-NdOjia2snKiIj/Urz1QxZ81G35T/onVD7+DzT9dBvmE=";
|
||||
};
|
||||
|
||||
ldflags = [ "-s -w" ];
|
||||
|
||||
vendorHash = "sha256-mDTSoN5evVwpGJePjwvwoOcaP9YwByjpe0VGVbme22U=";
|
||||
|
||||
meta = {
|
||||
description = "Quickly share files on the LAN";
|
||||
homepage = "https://github.com/j-jzk/lanshare";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue