parent
7bdafdd1c9
commit
80fb89358f
37
pkgs/tools/networking/piknik/default.nix
Normal file
37
pkgs/tools/networking/piknik/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, testers
|
||||||
|
, piknik
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "piknik";
|
||||||
|
version = "0.10.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jedisct1";
|
||||||
|
repo = "piknik";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-3yvr2H1a9YtgOEEBwn1HlGXIWFzRwQPBw9+KQxW3/jo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = null;
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
version = testers.testVersion {
|
||||||
|
package = piknik;
|
||||||
|
version = "v${version}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Copy/paste anything over the network";
|
||||||
|
homepage = "https://github.com/jedisct1/piknik";
|
||||||
|
changelog = "https://github.com/jedisct1/piknik/blob/${src.rev}/ChangeLog";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11258,6 +11258,8 @@ with pkgs;
|
||||||
|
|
||||||
phosh-mobile-settings = callPackage ../applications/window-managers/phosh/phosh-mobile-settings.nix { };
|
phosh-mobile-settings = callPackage ../applications/window-managers/phosh/phosh-mobile-settings.nix { };
|
||||||
|
|
||||||
|
piknik = callPackage ../tools/networking/piknik { };
|
||||||
|
|
||||||
pinentry = libsForQt5.callPackage ../tools/security/pinentry { };
|
pinentry = libsForQt5.callPackage ../tools/security/pinentry { };
|
||||||
|
|
||||||
pinentry-curses = (lib.getOutput "curses" pinentry);
|
pinentry-curses = (lib.getOutput "curses" pinentry);
|
||||||
|
|
Loading…
Reference in a new issue