From b83e5607575b1cb499f56cd146473048a0bf8c39 Mon Sep 17 00:00:00 2001 From: David Wolff Date: Fri, 23 Feb 2024 07:22:22 +0100 Subject: [PATCH] stylance-cli: init at 0.3.0 --- pkgs/by-name/st/stylance-cli/package.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/by-name/st/stylance-cli/package.nix diff --git a/pkgs/by-name/st/stylance-cli/package.nix b/pkgs/by-name/st/stylance-cli/package.nix new file mode 100644 index 000000000000..767d7370b766 --- /dev/null +++ b/pkgs/by-name/st/stylance-cli/package.nix @@ -0,0 +1,24 @@ +{ lib +, rustPlatform +, fetchCrate +}: +rustPlatform.buildRustPackage rec { + pname = "stylance-cli"; + version = "0.3.0"; + + src = fetchCrate { + inherit pname version; + hash = "sha256-YQYYZxLypD5Nz8kllIaBFDoV8L2c9wzJwmszqPpjpmg="; + }; + + cargoHash = "sha256-ZzdLbsHRBgprdzmPVzywJx+wMMqRBsLeT84UIDMJbQM="; + + meta = with lib; { + description = "A library and cli tool for working with scoped CSS in rust"; + mainProgram = "stylance"; + homepage = "https://github.com/basro/stylance-rs"; + changelog = "https://github.com/basro/stylance-rs/blob/v${version}/CHANGELOG.md"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ dav-wolff ]; + }; +}