Merge pull request #220512 from tennox/add-portal
portal: init at 1.2.2
This commit is contained in:
commit
c8a59e248c
@ -15265,6 +15265,12 @@
|
||||
githubId = 1755789;
|
||||
name = "Robert Irelan";
|
||||
};
|
||||
tennox = {
|
||||
email = "tennox+nix@txlab.io";
|
||||
github = "tennox";
|
||||
githubId = 2084639;
|
||||
name = "Manu";
|
||||
};
|
||||
teozkr = {
|
||||
email = "teo@nullable.se";
|
||||
github = "nightkr";
|
||||
|
26
pkgs/tools/misc/portal/default.nix
Normal file
26
pkgs/tools/misc/portal/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "portal";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SpatiumPortae";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-80ZWMYGH5D5C5Lw97Sic3duw+oXBzIxQjJ+6uQLBwJQ=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-SbNFi5DE3zhTUw0rsX6n+dpYcdDsaDh+zVUrfxgo/4g=";
|
||||
subPackages = [ "cmd/portal/" ];
|
||||
|
||||
ldflags = [ "-s -X main.version=${version}" ]; # from: https://github.com/SpatiumPortae/portal/blob/master/Makefile#L3
|
||||
|
||||
meta = with lib; {
|
||||
description = "A quick and easy command-line file transfer utility from any computer to another";
|
||||
homepage = "https://github.com/SpatiumPortae/portal";
|
||||
changelog = "https://github.com/SpatiumPortae/portal/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tennox ];
|
||||
};
|
||||
}
|
@ -5574,6 +5574,8 @@ with pkgs;
|
||||
electron = electron_22;
|
||||
};
|
||||
|
||||
portal = callPackage ../tools/misc/portal { };
|
||||
|
||||
pouf = callPackage ../tools/misc/pouf { };
|
||||
|
||||
poweralertd = callPackage ../tools/misc/poweralertd { };
|
||||
|
Loading…
Reference in New Issue
Block a user