2022-07-14 12:49:19 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "nixpacks";
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "0.12.2";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "railwayapp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-11-04 12:27:35 +00:00
|
|
|
sha256 = "sha256-l6QIP/GIm7QMWLjYQJ3yuT7mWriowcND32EUuiNfvNA=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
cargoSha256 = "sha256-t2kxpiSSYzg4MfjCyxkKNfPLTwGB8KgzQonFkLPCpvM=";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|