2022-07-14 12:49:19 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "nixpacks";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "1.1.1";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "railwayapp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-SrNYvkJy97GwneA7UClNLaO0fd+ZiMSxCCSgqwESw5Y=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
cargoHash = "sha256-S/V2PVkL9T/USXAzorDpo0nhRm9DOkNtfw5CADg4oKM=";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
# skip test due FHS dependency
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "App source + Nix packages + Docker = Image Resources";
|
|
|
|
homepage = "https://github.com/railwayapp/nixpacks";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.zoedsoupe ];
|
|
|
|
};
|
|
|
|
}
|