Mario Rodas 2023-12-17 04:20:00 +00:00
parent 8e9d4495c7
commit 5137849ea2

View file

@ -1,21 +1,27 @@
{ lib, buildNpmPackage, fetchFromGitHub}:
{ lib, buildNpmPackage, fetchFromGitHub, testers, typescript }:
buildNpmPackage rec {
pname = "typescript";
version = "5.3.2";
version = "5.3.3";
src = fetchFromGitHub {
owner = "microsoft";
repo = "TypeScript";
rev = "v${version}";
hash = "sha256-lwc2bYC2f8x3Np/LxbN+5x6Apuekp7LmHXNutqL9Z2E=";
hash = "sha256-gZdS4TGbafaOdNc1ZB24uAjMu9g0hef6mEsOr/dPqvY=";
};
patches = [
./disable-dprint-dstBundler.patch
];
npmDepsHash = "sha256-vD/tax5RjREdsdte3ONahVf9GPOkxPqeP9jmsxjCYkY=";
npmDepsHash = "sha256-gj59jjko13UBPqqy/3z1KgVMFUQPUAIg47UTTaseF+w=";
passthru.tests = {
version = testers.testVersion {
package = typescript;
};
};
meta = with lib; {
description = "A superset of JavaScript that compiles to clean JavaScript output";