nixpkgs/pkgs/applications/virtualization/nixpacks/default.nix
2023-03-28 03:34:54 +00:00

26 lines
645 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "nixpacks";
version = "1.6.0";
src = fetchFromGitHub {
owner = "railwayapp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-q+NMV0GagcGeUb+WD8BoFjAKJWgzBSq/POqwPUADAUI=";
};
cargoHash = "sha256-m9CvMorM7uX6OOfVCtM2pZPgRcKm7fVoTk/SCt8FXyU=";
# 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 ];
};
}