{ lib, rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "nixpacks"; version = "1.30.0"; src = fetchFromGitHub { owner = "railwayapp"; repo = pname; rev = "v${version}"; sha256 = "sha256-UFpTDZAPFZIoI0pOWZDhx7t/GhXNY4Xy1DtwvjPzSGs="; }; cargoHash = "sha256-ecrAaix3dsCa6nTvZ1jqAwW5N/7lF+0MclXkk7zt2zk="; # 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"; }; }