1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/by-name/i3/i3bar-river/package.nix
2024-10-08 02:13:43 +00:00

33 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;
};
}