2022-07-11 14:49:34 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "nixpacks";
|
2022-09-26 22:48:50 +01:00
|
|
|
version = "0.7.1";
|
2022-07-11 14:49:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "railwayapp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-26 22:48:50 +01:00
|
|
|
sha256 = "sha256-d38PocmvGRvyKMCNMhE8IFNGOn6r42ODLPVo/Ak3q/8=";
|
2022-07-11 14:49:34 +01:00
|
|
|
};
|
|
|
|
|
2022-09-26 22:48:50 +01:00
|
|
|
cargoSha256 = "sha256-74FIlSV/prlxuMxqVx27M0ltXY3m0ddUVyHTltQLnuM=";
|
2022-07-11 14:49:34 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|