mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
27 lines
676 B
Nix
27 lines
676 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nixpacks";
|
|
version = "1.21.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "railwayapp";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-GY5fwmwr2FAJB9SjTaghlC4GD6ECnect21VInTXseRE=";
|
|
};
|
|
|
|
cargoHash = "sha256-kXfNWAloMwpykv6zJS5g6ng8RGn+NBNgYJmUg/I7dBg=";
|
|
|
|
# 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";
|
|
};
|
|
}
|