7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
32 lines
744 B
Nix
32 lines
744 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, pkg-config
|
|
, pango
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "i3bar-river";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MaxVerevkin";
|
|
repo = "i3bar-river";
|
|
rev = "v${version}";
|
|
hash = "sha256-Xa/9xDfVadwFEelxoXVjvPgOojNtol6XeDoBbDLbdS0=";
|
|
};
|
|
|
|
cargoHash = "sha256-k4bWJjcOkYKh3WOnTM1+otWLw4C7sVzF6IVkYmpiNeQ=";
|
|
|
|
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;
|
|
};
|
|
}
|