depot/pkgs/by-name/i3/i3bar-river/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
744 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, pango
}:
rustPlatform.buildRustPackage rec {
pname = "i3bar-river";
version = "1.0.1";
src = fetchFromGitHub {
owner = "MaxVerevkin";
repo = "i3bar-river";
rev = "v${version}";
hash = "sha256-nUS53qL0CM4MJNomsAwINee3Yv1f7jqUg8S3ecusFB8=";
};
cargoHash = "sha256-QniAkaVvr7kaBJAgiL+k6im99m9ZNZVpZGlHgSkZZtw=";
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;
};
}