diff --git a/pkgs/applications/virtualization/nixpacks/default.nix b/pkgs/applications/virtualization/nixpacks/default.nix new file mode 100644 index 000000000000..e6dbb84610fc --- /dev/null +++ b/pkgs/applications/virtualization/nixpacks/default.nix @@ -0,0 +1,25 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "nixpacks"; + version = "0.1.7"; + + src = fetchFromGitHub { + owner = "railwayapp"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-UxdK2e5VYcOEYdZn0oGRFIVGiwnPixiZ3rOnqJDSQO8="; + }; + + cargoSha256 = "sha256-dJdPs4BJ1R2ZbGmGmvBerLPVqUHn5b/fz9C0kEnxA6U="; + + # 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1f5d49cf652c..01c23ccbdd66 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8085,6 +8085,8 @@ with pkgs; netsniff-ng = callPackage ../tools/networking/netsniff-ng { }; + nixpacks = callPackage ../applications/virtualization/nixpacks { }; + nkeys = callPackage ../tools/system/nkeys { }; nyxt = callPackage ../applications/networking/browsers/nyxt { };