3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #182603 from Craftzman7/pkg/railway

railway: init at 1.8.3
This commit is contained in:
Winter 2022-07-23 22:59:54 -04:00 committed by GitHub
commit eb54e6e86a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View file

@ -2649,6 +2649,12 @@
fingerprint = "8026 D24A A966 BF9C D3CD CB3C 08FB 2BFC 470E 75B4";
}];
};
Crafter = {
email = "crafter@crafter.rocks";
github = "Craftzman7";
githubId = 70068692;
name = "Crafter";
};
craigem = {
email = "craige@mcwhirter.io";
github = "craigem";

View file

@ -0,0 +1,28 @@
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "railway";
version = "1.8.3";
src = fetchFromGitHub {
owner = "railwayapp";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-PAKg/8Ljcrz92M4sdKXZBe9Qa0NYwWnghzjxsCO8nhU=";
};
ldflags = [ "-s" "-w" ];
vendorSha256 = "sha256-nLuomuAScodgLUKzMTiygtFBnNHrqAojOySZgKLVGJY=";
postInstall = ''
mv $out/bin/cli $out/bin/railway
'';
meta = with lib; {
description = "Railway CLI";
homepage = "https://railway.app";
license = licenses.mit;
maintainers = with maintainers; [ Crafter ];
};
}

View file

@ -10013,6 +10013,8 @@ with pkgs;
quilt = callPackage ../development/tools/quilt { };
railway = callPackage ../development/tools/railway { };
quota = if stdenv.isLinux then linuxquota else unixtools.quota;
qvge = libsForQt5.callPackage ../applications/graphics/qvge { };