2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, pkg-config
|
|
|
|
, pango
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "i3bar-river";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.1.5";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MaxVerevkin";
|
|
|
|
repo = "i3bar-river";
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-AXa+K+njXkrJeqABD04WHpmvAzAL1Mw11ZhCfFNJxhY=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
cargoHash = "sha256-tNuv+D75wox3HlUZSJJ67KEBKmGJXBkXHfvDsNHeM6A=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ pango ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A 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;
|
|
|
|
};
|
|
|
|
}
|