diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index c76210d86a46..2d892408712d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2312,7 +2312,11 @@ email = "tierpluspluslists@gmail.com"; name = "Karn Kallio"; }; - + klntsky = { + email = "klntsky@gmail.com"; + name = "Vladimir Kalnitsky"; + github = "8084"; + }; kmeakin = { email = "karlwfmeakin@gmail.com"; name = "Karl Meakin"; diff --git a/pkgs/development/tools/pax-rs/default.nix b/pkgs/development/tools/pax-rs/default.nix new file mode 100644 index 000000000000..3a4f35c0412b --- /dev/null +++ b/pkgs/development/tools/pax-rs/default.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchFromGitHub, fetchurl, rustPlatform, runCommand } : +with rustPlatform; + +buildRustPackage rec { + name = "pax-rs-${version}"; + version = "0.4.0"; + + meta = with stdenv.lib; { + description = "The fastest JavaScript bundler in the galaxy."; + longDescription = '' + The fastest JavaScript bundler in the galaxy. Fully supports ECMAScript module syntax (import/export) in addition to CommonJS require(). + ''; + homepage = https://github.com/nathan/pax; + license = licenses.mit; + maintainers = [ maintainers.klntsky ]; + platforms = platforms.all; + }; + + src = + let + source = fetchFromGitHub { + owner = "nathan"; + repo = "pax"; + rev = "pax-v${version}"; + sha256 = "1l2xpgsms0bfc0i3l0hyw4dbp6d4qdxa9vxyp704p27vvn4ndhv2"; + }; + + cargo-lock = fetchurl { + url = "https://gist.github.com/8084/c7863424d7df0c379782015f6bb3b399/raw/1cf7481e33984fd1510dc77ed677606d08fa8eb6/Cargo.lock"; + sha256 = "0ff1b64b99cbca1cc2ceabcd2e4f7bc3411e3a2a9fbb9db2204d9240fe38ddeb"; + }; + in + runCommand "pax-rs-src" {} '' + cp -R ${source} $out + chmod +w $out + cp ${cargo-lock} $out/Cargo.lock + ''; + + cargoSha256 = "0sdk090sp89vgwz5a71f481a5sk13kcqb29cx1dslfq59sp4j6y7"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2d5f77585eb3..6e7ca1c7b8da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6529,9 +6529,9 @@ in fish-foreign-env = callPackage ../shells/fish/fish-foreign-env { }; ion = callPackage ../shells/ion { }; - + ksh = callPackage ../shells/ksh { }; - + mksh = callPackage ../shells/mksh { }; oh = callPackage ../shells/oh { }; @@ -8929,6 +8929,8 @@ in patchelfUnstable = lowPrio (callPackage ../development/tools/misc/patchelf/unstable.nix { }); + pax-rs = callPackage ../development/tools/pax-rs { }; + peg = callPackage ../development/tools/parsing/peg { }; pgcli = callPackage ../development/tools/database/pgcli {};