at 23.11-beta 32 lines 789 B view raw
1{ lib 2, rustPlatform 3, fetchFromGitHub 4, stdenv 5, darwin 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "rustywind"; 10 version = "0.20.0"; 11 12 src = fetchFromGitHub { 13 owner = "avencera"; 14 repo = "rustywind"; 15 rev = "v${version}"; 16 hash = "sha256-3VG3EIcNp1fcNctrQO+mcGkAObHYPZQGdU83mi7WxPs="; 17 }; 18 19 cargoHash = "sha256-hqGhh3YZ8Pz0hhC+HNdwc7PZVzGeMZqmctVjbQx7SQo="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 darwin.apple_sdk.frameworks.Security 23 ]; 24 25 meta = with lib; { 26 description = "CLI for organizing Tailwind CSS classes"; 27 homepage = "https://github.com/avencera/rustywind"; 28 changelog = "https://github.com/avencera/rustywind/blob/${src.rev}/CHANGELOG.md"; 29 license = licenses.asl20; 30 maintainers = with maintainers; [ figsoda ]; 31 }; 32}