esbuild-config: init at 1.0.1
https://github.com/bpierre/esbuild-config
This commit is contained in:
parent
aca074351f
commit
728f977a2f
1 changed files with 31 additions and 0 deletions
31
pkgs/by-name/es/esbuild-config/package.nix
Normal file
31
pkgs/by-name/es/esbuild-config/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue