mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
744 B
Nix
33 lines
744 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, pkg-config
|
|
, pango
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "i3bar-river";
|
|
version = "0.1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MaxVerevkin";
|
|
repo = "i3bar-river";
|
|
rev = "v${version}";
|
|
hash = "sha256-tG23bdEKp8+9RMS1fpW8EVe+bAdjQp7nVW0eHl3eYSQ=";
|
|
};
|
|
|
|
cargoHash = "sha256-nSzGWpnyGRus9qCTPAd+BM4KsujSNyRmFUCc4Lg4D5k=";
|
|
|
|
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;
|
|
};
|
|
}
|