Unverified Commit e8db8bb6 authored by Maciej Krüger's avatar Maciej Krüger Committed by GitHub
Browse files

Merge pull request #252265 from Lord-Valen/npm-rtlcss

parents 91f9bce0 4bd46be9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
, fetchFromGitHub
, fetchzip
, python310
, nodePackages
, rtlcss
, wkhtmltopdf
, nixosTests
}:
@@ -63,7 +63,7 @@ in python.pkgs.buildPythonApplication rec {
  doCheck = false;

  makeWrapperArgs = [
    "--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf nodePackages.rtlcss ]}"
    "--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf rtlcss ]}"
  ];

  propagatedBuildInputs = with python.pkgs; [
+2 −2
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, fetchzip, python310, nodePackages, wkhtmltopdf
{ stdenv, lib, fetchFromGitHub, fetchzip, python310, rtlcss, wkhtmltopdf
, nixosTests }:

let
@@ -59,7 +59,7 @@ in python.pkgs.buildPythonApplication rec {
    "--prefix"
    "PATH"
    ":"
    "${lib.makeBinPath [ wkhtmltopdf nodePackages.rtlcss ]}"
    "${lib.makeBinPath [ wkhtmltopdf rtlcss ]}"
  ];

  propagatedBuildInputs = with python.pkgs; [
+24 −0
Original line number Diff line number Diff line
{ buildNpmPackage, fetchFromGitHub, lib, ... }:

buildNpmPackage rec {
  pname = "rtlcss";
  version = "4.1.0";

  src = fetchFromGitHub {
    owner = "MohammadYounes";
    repo = "rtlcss";
    rev = "v${version}";
    hash = "sha256-KdAf7jzt8o/YEzT/bLCXj546HX0oC90kr44u3p3qv/k=";
  };

  npmDepsHash = "sha256-ghVgvw55w7T9WxokYtlFSgCfGvcOxFzm2wQIFi+6uBY=";

  dontNpmBuild = true;

  meta = with lib; {
    description = "Framework for converting Left-To-Right (LTR) Cascading Style Sheets(CSS) to Right-To-Left (RTL)";
    homepage = "https://rtlcss.com";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ mapAliases {
  inherit (pkgs) npm-check-updates; # added 2023-08-22
  readability-cli = pkgs.readability-cli; # Added 2023-06-12
  reveal-md = pkgs.reveal-md; # added 2023-07-31
  inherit (pkgs) rtlcss; # added 2023-08-29
  s3http = throw "s3http was removed because it was abandoned upstream"; # added 2023-08-18
  ssb-server = throw "ssb-server was removed because it was broken"; # added 2023-08-21
  stf = throw "stf was removed because it was broken"; # added 2023-08-21
+0 −1
Original line number Diff line number Diff line
@@ -242,7 +242,6 @@
, "rimraf"
, "rollup"
, {"rust-analyzer-build-deps": "../../applications/editors/vscode/extensions/rust-lang.rust-analyzer/build-deps"}
, "rtlcss"
, "sass"
, "semver"
, "serve"
Loading