You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.0 KiB
49 lines
1.0 KiB
{ lib, pkgs, ... }:
|
|
|
|
with pkgs; callPackage python3Packages.buildPythonPackage rec {
|
|
pname = "xborders";
|
|
version = "3.4"; # in version.txt
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deter0";
|
|
repo = "xborder";
|
|
rev = "8a031736c9e89a031428f33adcd42da7512d558e";
|
|
sha256 = "sha256-y+Cip5fcDqnJr0aI3jqJMTt6iCV0faunM+Gk6HFZ5iA=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libwnck
|
|
gtk3
|
|
libnotify
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook
|
|
gobject-introspection
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
pycairo
|
|
requests
|
|
pygobject3
|
|
];
|
|
|
|
postPatch = let
|
|
setup = pkgs.substituteAll {
|
|
src = ./setup.py;
|
|
desc = meta.description; # "description" is reserved
|
|
inherit pname version;
|
|
};
|
|
in ''
|
|
ln -s ${setup} setup.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Active window border replacement for window managers.";
|
|
homepage = "https://github.com/deter0/xborder";
|
|
license = licenses.unlicense;
|
|
maintainers = with maintainers; [ elnudev ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|