Unverified Commit a3a56ee9 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #304029 from fccapria/sandbar

sandbar: init at 0.1
parents a7b5f7f3 fb5fba3b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6456,6 +6456,12 @@
    githubId = 4246921;
    name = "Florian Beeres";
  };
  fccapria = {
    email = "francesco@capria.eu";
    github = "fccapria";
    githubId = 62179193;
    name = "Francesco Carmelo Capria";
  };
  fd = {
    email = "simon.menke@gmail.com";
    github = "fd";
+47 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  pixman,
  fcft,
  pkg-config,
  wayland-protocols,
  wayland-scanner,
  wayland
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "sandbar";
  version = "0.1";

  src = fetchFromGitHub {
    owner = "kolunmi";
    repo = "sandbar";
    rev = "v${finalAttrs.version}";
    hash = "sha256-uG+/e75s/OQtEotR+8aXTEjW6p3oJM8btuRNgUVmIiQ=";
  };

  strictDeps = true;

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [
    wayland-scanner
    wayland-protocols
    wayland
    pixman
    fcft
  ];

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    homepage = "https://github.com/kolunmi/sandbar";
    description = "DWM-like bar for the river wayland compositor";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ fccapria ];
    platforms = platforms.all;
    badPlatforms = platforms.darwin;
    mainProgram = "sandbar";
  };
})