about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/sw/swaycons/package.nix
blob: 9716f870879512e863ecfc5bcf1b1f625df8cda5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, fetchFromGitHub
, rustPlatform
}:

rustPlatform.buildRustPackage rec {
  pname = "swaycons";
  version = "unstable-2023-01-05";

  src = fetchFromGitHub {
    owner = "ActuallyAllie";
    repo = "swaycons";
    rev = "e863599fb56177fc9747d60db661be2d7c2d290b";
    hash = "sha256-zkCpZ3TehFKNePtSyFaEk+MA4mi1+la9yFjRPFy+eq8=";
  };

  cargoSha256 = "sha256-GcoRx52dwL/ehJ1Xg6xQHVzPIKXWqBrG7IjzxRjfgqA=";

  meta = with lib; {
    description = "Window Icons in Sway with Nerd Fonts!";
    mainProgram = "swaycons";
    homepage = "https://github.com/ActuallyAllie/swaycons";
    license = licenses.asl20;
    platforms = platforms.linux;
    maintainers = with maintainers; [ aacebedo ];
  };
}