evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ty / typescript / package.nix
blobde15795895d2ffc9d984fdd59ee77ef03ae89579
1 { lib, buildNpmPackage, fetchFromGitHub, testers, typescript }:
3 buildNpmPackage rec {
4   pname = "typescript";
5   version = "5.6.3";
7   src = fetchFromGitHub {
8     owner = "microsoft";
9     repo = "TypeScript";
10     rev = "v${version}";
11     hash = "sha256-DsGTVqCbzifPmgCrca5M7qeUPiMThByq6esN+bMt4fU=";
12   };
14   patches = [
15     ./disable-dprint-dstBundler.patch
16   ];
18   npmDepsHash = "sha256-w3Tm7BJ2usrjut6HrhjgXe7TIgq5PxYeHRenz4aybk4=";
20   passthru.tests = {
21     version = testers.testVersion {
22       package = typescript;
23     };
24   };
26   meta = with lib; {
27     description = "Superset of JavaScript that compiles to clean JavaScript output";
28     homepage = "https://www.typescriptlang.org/";
29     changelog = "https://github.com/microsoft/TypeScript/releases/tag/v${version}";
30     license = licenses.asl20;
31     maintainers = [ ];
32     mainProgram = "tsc";
33   };