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
|
in
|
||||||
{
|
{
|
||||||
uv-bin = pkgs.callPackage ./packages/uv { };
|
uv-bin = pkgs.callPackage ./packages/uv { };
|
||||||
|
lanshare = pkgs.callPackage ./packages/lanshare { };
|
||||||
};
|
};
|
||||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||||
hydraJobs = {
|
hydraJobs = {
|
||||||
|
|
|
@ -39,6 +39,7 @@ in
|
||||||
losslesscut-bin
|
losslesscut-bin
|
||||||
qcad
|
qcad
|
||||||
bottles
|
bottles
|
||||||
|
lanshare
|
||||||
];
|
];
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -6,6 +6,7 @@ in
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
uv-bin = self.packages.x86_64-linux.uv-bin;
|
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