1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
8 owner = "SpatiumPortae";
11 sha256 = "sha256-hGB82a2WirUL1Tph6EuoITOQGYA0Lo4zOeKPC46B5Qk=";
14 vendorHash = "sha256-SbNFi5DE3zhTUw0rsX6n+dpYcdDsaDh+zVUrfxgo/4g=";
15 subPackages = [ "cmd/portal/" ];
17 ldflags = [ "-s -X main.version=${version}" ]; # from: https://github.com/SpatiumPortae/portal/blob/master/Makefile#L3
20 description = "Quick and easy command-line file transfer utility from any computer to another";
21 homepage = "https://github.com/SpatiumPortae/portal";
22 changelog = "https://github.com/SpatiumPortae/portal/tag/v${version}";
23 license = licenses.mit;
24 maintainers = with maintainers; [ tennox ];
25 mainProgram = "portal";