mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 23:13:56 +00:00
27 lines
676 B
Nix
27 lines
676 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nixpacks";
|
|
version = "1.26.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "railwayapp";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-xwuW6bncNK9zhI6gWDpI5imdAd0+mALxyUQW433AeMA=";
|
|
};
|
|
|
|
cargoHash = "sha256-uxvFeoooz7aSM7ZAgUsxGO3LE/zinW5D/GwXcWoKLA0=";
|
|
|
|
# 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";
|
|
};
|
|
}
|