Merge pull request #254468 from figsoda/esbuild-config

esbuild-config: init at 1.0.1
This commit is contained in:
figsoda 2023-09-13 10:08:16 -04:00 committed by GitHub
commit e74d1c1567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,31 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "esbuild-config";
version = "1.0.1";
src = fetchFromGitHub {
owner = "bpierre";
repo = "esbuild-config";
rev = "v${version}";
hash = "sha256-u3LgecKfgPSN5xMyqBjeAn4/XswM3iEGbZ+JGrVF1Co=";
};
cargoHash = "sha256-Z7uYOjMNxsEmsEXDOIr1zIq4nCgHvHIqpRnRH037b8g=";
# Cargo.lock is outdated
postConfigure = ''
cargo metadata --offline
'';
meta = with lib; {
description = "Config files for esbuild";
homepage = "https://github.com/bpierre/esbuild-config";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "esbuild-config";
};
}