2022-07-14 12:49:19 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "nixpacks";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "1.28.1";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "railwayapp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
sha256 = "sha256-0gy9fm18Tc1ALZEV+XZN8kwK725PpIK2OTKKMatvtVQ=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
cargoHash = "sha256-r7jVcDja3BZyZoN2JxDymyv+rOv3wWaGo+yC4GwnZ50=";
|
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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "nixpacks";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
}
|