at 24.05-pre 781 B view raw
1{ buildNpmPackage 2, darwin 3, fetchFromGitHub 4, lib 5, python3 6, stdenv 7}: 8 9buildNpmPackage rec { 10 pname = "nest-cli"; 11 version = "10.2.1"; 12 13 src = fetchFromGitHub { 14 owner = "nestjs"; 15 repo = pname; 16 rev = version; 17 hash = "sha256-vnF+ES6RK4iiIJsWUV57DqoLischh+1MlmlK46Z6USY="; 18 }; 19 20 npmDepsHash = "sha256-9yd+k+HpARM63/esW+av0zfcuAVsp9Lkfp6hmUQO5Yg="; 21 22 env = { 23 npm_config_build_from_source = true; 24 }; 25 26 nativeBuildInputs = [ 27 python3 28 ]; 29 30 buildInputs = lib.optionals stdenv.isDarwin [ 31 darwin.apple_sdk.frameworks.CoreServices 32 ]; 33 34 meta = with lib; { 35 description = "CLI tool for Nest applications"; 36 homepage = "https://nestjs.com"; 37 license = licenses.mit; 38 mainProgram = "nest"; 39 maintainers = [ maintainers.ehllie ]; 40 }; 41}