504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
26 lines
676 B
Nix
26 lines
676 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nixpacks";
|
|
version = "1.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "railwayapp";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-EaJYuapTWzVD80UyhzjP1q1SCCNmUozf+hUl4wBgC14=";
|
|
};
|
|
|
|
cargoHash = "sha256-Vh5mdxxROVthDUzK+PRhl9AY5jcmvhEXP5UqOeqOm6o=";
|
|
|
|
# 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";
|
|
};
|
|
}
|