nixpkgs/pkgs/by-name/pr/prettier-d-slim/package.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

29 lines
599 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "prettier-d-slim";
version = "1.2.0";
src = fetchFromGitHub {
owner = "mikew";
repo = "prettier_d_slim";
rev = "v${version}";
hash = "sha256-M+qlFKtIro3geVsVaYu6dIfOrJIlUQY98LSBikKNV/I=";
};
npmDepsHash = "sha256-zkyB3PYpfeEw5U70KewxIWd4eImIbTgy+e88264sotc=";
dontNpmBuild = true;
meta = {
description = "Makes prettier fast";
homepage = "https://github.com/mikew/prettier_d_slim";
license = lib.licenses.mit;
mainProgram = "prettier_d_slim";
maintainers = [ ];
};
}