587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
26 lines
676 B
Nix
26 lines
676 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nixpacks";
|
|
version = "1.21.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "railwayapp";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-niEuOsSOjHDP4KEax/OqQfxWC3XmTRUKB8k0DQ3Ybq0=";
|
|
};
|
|
|
|
cargoHash = "sha256-LMVYrxYpkwM9rdGkKaeLFKB+B2HI+AEDwrdBCAFLpJQ=";
|
|
|
|
# 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";
|
|
};
|
|
}
|