depot/third_party/nixpkgs/pkgs/applications/virtualization/nixpacks/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

26 lines
676 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "nixpacks";
version = "1.24.6";
src = fetchFromGitHub {
owner = "railwayapp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4vZgl/AmGrRFcUUIa7S5LeuroDsInDsqEQ1G4p4fxEA=";
};
cargoHash = "sha256-rO0upaiGhrUSrnt2uGAaii/ulpipV0BW5B7bv+fMBWg=";
# 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 ];
mainProgram = "nixpacks";
};
}