nixpkgs/pkgs/by-name/sw/swaycons/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
703 B
Nix

{ 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 ];
};
}