Files
nixpkgs/pkgs/development/libraries/rtlcss/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

26 lines
662 B
Nix

{ 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)";
mainProgram = "rtlcss";
homepage = "https://rtlcss.com";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}