Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildNpmPackage, 3 fetchFromGitHub, 4 lib, 5 ... 6}: 7 8buildNpmPackage rec { 9 pname = "rtlcss"; 10 version = "4.1.0"; 11 12 src = fetchFromGitHub { 13 owner = "MohammadYounes"; 14 repo = "rtlcss"; 15 rev = "v${version}"; 16 hash = "sha256-KdAf7jzt8o/YEzT/bLCXj546HX0oC90kr44u3p3qv/k="; 17 }; 18 19 npmDepsHash = "sha256-ghVgvw55w7T9WxokYtlFSgCfGvcOxFzm2wQIFi+6uBY="; 20 21 dontNpmBuild = true; 22 23 meta = with lib; { 24 description = "Framework for converting Left-To-Right (LTR) Cascading Style Sheets(CSS) to Right-To-Left (RTL)"; 25 mainProgram = "rtlcss"; 26 homepage = "https://rtlcss.com"; 27 license = licenses.mit; 28 maintainers = [ ]; 29 }; 30}