mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-28 07:43:43 +00:00
3ad8dd49ba
Diff: https://github.com/avencera/rustywind/compare/v0.19.0...v0.20.0 Changelog: https://github.com/avencera/rustywind/blob/v0.20.0/CHANGELOG.md
33 lines
789 B
Nix
33 lines
789 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, stdenv
|
|
, darwin
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rustywind";
|
|
version = "0.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "avencera";
|
|
repo = "rustywind";
|
|
rev = "v${version}";
|
|
hash = "sha256-3VG3EIcNp1fcNctrQO+mcGkAObHYPZQGdU83mi7WxPs=";
|
|
};
|
|
|
|
cargoHash = "sha256-hqGhh3YZ8Pz0hhC+HNdwc7PZVzGeMZqmctVjbQx7SQo=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
darwin.apple_sdk.frameworks.Security
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "CLI for organizing Tailwind CSS classes";
|
|
homepage = "https://github.com/avencera/rustywind";
|
|
changelog = "https://github.com/avencera/rustywind/blob/${src.rev}/CHANGELOG.md";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|