![Mario Rodas](/assets/img/avatar_default.png)
Diff: https://github.com/microsoft/TypeScript/compare/v5.4.2...5.4.3 Changelog: https://github.com/microsoft/TypeScript/releases/tag/v5.4.3
35 lines
880 B
Nix
35 lines
880 B
Nix
{ lib, buildNpmPackage, fetchFromGitHub, testers, typescript }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "typescript";
|
|
version = "5.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoft";
|
|
repo = "TypeScript";
|
|
rev = "v${version}";
|
|
hash = "sha256-yB87R6LyuTbSbQOcRi+QOhrnUy+ra76PiCzsEvPx3ds=";
|
|
};
|
|
|
|
patches = [
|
|
./disable-dprint-dstBundler.patch
|
|
];
|
|
|
|
npmDepsHash = "sha256-XlXDof0yFxEpNCZN+4ZY2BVgpbAkwdAUJcTRxIXi8eQ=";
|
|
|
|
passthru.tests = {
|
|
version = testers.testVersion {
|
|
package = typescript;
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A superset of JavaScript that compiles to clean JavaScript output";
|
|
homepage = "https://www.typescriptlang.org/";
|
|
changelog = "https://github.com/microsoft/TypeScript/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.marsam ];
|
|
mainProgram = "tsc";
|
|
};
|
|
}
|