{ lib, rustPlatform, fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "nixpacks"; version = "1.24.1"; src = fetchFromGitHub { owner = "railwayapp"; repo = pname; rev = "v${version}"; sha256 = "sha256-niKz+F1RJtZrE8+BaJwy5bjGS3miJf5C9LttTnC+iuk="; }; cargoHash = "sha256-fzG53DqZKgW6Gen+0ZO9lxgPXkxw7S6OdZWNNI+y9hU="; # 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"; }; }