Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / i3 / i3bar-river / package.nix
bloba53a4dddda5590e2209afe5715299688dc68d40e
1 { lib
2 , fetchFromGitHub
3 , rustPlatform
4 , pkg-config
5 , pango
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "i3bar-river";
10   version = "0.1.5";
12   src = fetchFromGitHub {
13     owner = "MaxVerevkin";
14     repo = "i3bar-river";
15     rev = "v${version}";
16     hash = "sha256-AXa+K+njXkrJeqABD04WHpmvAzAL1Mw11ZhCfFNJxhY=";
17   };
19   cargoHash = "sha256-tNuv+D75wox3HlUZSJJ67KEBKmGJXBkXHfvDsNHeM6A=";
21   nativeBuildInputs = [ pkg-config ];
22   buildInputs = [ pango ];
24   meta = with lib; {
25     description = "A port of i3bar for river";
26     homepage = "https://github.com/MaxVerevkin/i3bar-river";
27     license = licenses.gpl3Only;
28     maintainers = with maintainers; [ nicegamer7 ];
29     mainProgram = "i3bar-river";
30     platforms = platforms.linux;
31   };