Files
nixpkgs/pkgs/by-name/pi/piknik/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
854 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
testers,
piknik,
}:
buildGoModule rec {
pname = "piknik";
version = "0.10.2";
src = fetchFromGitHub {
owner = "jedisct1";
repo = "piknik";
rev = version;
hash = "sha256-Kdqh3sQuO0iT0RW2hU+nrmBltxCFiqOSL00cbDHZJjc=";
};
vendorHash = "sha256-t7w8uKYda6gT08ymAJqS38JgY70kuKNkQvjHFK91j8s=";
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 ];
mainProgram = "piknik";
};
}