nixpkgs/pkgs/by-name/i3/i3bar-river/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
751 B
Nix
Raw Normal View History

2023-09-22 20:45:57 +00:00
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
pango,
}:
rustPlatform.buildRustPackage rec {
pname = "i3bar-river";
2024-11-25 11:03:41 +00:00
version = "1.1.0";
2023-09-22 20:45:57 +00:00
src = fetchFromGitHub {
owner = "MaxVerevkin";
repo = "i3bar-river";
rev = "v${version}";
2024-11-25 11:03:41 +00:00
hash = "sha256-0ux0woVp9HVCJf/oND2AKHj30eNC/w1WDnlPafLTgxM=";
2023-09-22 20:45:57 +00:00
};
2024-11-25 11:03:41 +00:00
cargoHash = "sha256-mp3nmkNodHyDD2fUGhsohAGyw+y/+xxI62w8OKVQkFs=";
2023-09-22 20:45:57 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pango ];
meta = with lib; {
description = "Port of i3bar for river";
homepage = "https://github.com/MaxVerevkin/i3bar-river";
license = licenses.gpl3Only;
maintainers = with maintainers; [ nicegamer7 ];
mainProgram = "i3bar-river";
platforms = platforms.linux;
};
}