Unverified Commit aaa63b43 authored by superherointj's avatar superherointj Committed by GitHub
Browse files

Merge pull request #335859 from museoa/swayest-workstyle

swayest-workstyle: adopt and rewrite
parents 7c917996 6002d45a
Loading
Loading
Loading
Loading
+15 −11
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
{
  lib,
  rustPlatform,
  fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
let
  pname = "swayest-workstyle";
  version = "1.3.5";

  src = fetchFromGitHub {
    owner = "Lyr-7D1h";
    repo = "swayest_workstyle";
    rev = version;
    sha256 = "sha256-Dk6rAiz7PXUfyy9fWMtSVRjaWWl66n38gTNyWKqeqkU=";
    hash = "sha256-Dk6rAiz7PXUfyy9fWMtSVRjaWWl66n38gTNyWKqeqkU=";
  };
in
rustPlatform.buildRustPackage {
  inherit pname version src;

  cargoHash = "sha256-sLQPq3tyWq1TxxeFyg05qBt+KGI/vO0jLU7wJLiqcYA=";

  doCheck = false; # No tests
  # No tests
  doCheck = false;

  meta = with lib; {
  meta = {
    description = "Map sway workspace names to icons defined depending on the windows inside of the workspace";
    homepage = "https://github.com/Lyr-7D1h/swayest_workstyle";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ miangraham ];
    license = lib.licenses.mit;
    mainProgram = "sworkstyle";
    maintainers = with lib.maintainers; [ AndersonTorres ];
    platforms = lib.platforms.linux;
  };
}