Compare commits

..

2 commits

Author SHA1 Message Date
7ce34e7460 xborders: use my fork 2023-02-21 18:38:28 -08:00
467792271e xborders: add requested changes 2023-02-21 18:24:45 -08:00

View file

@ -3,18 +3,32 @@
with pkgs; callPackage python3Packages.buildPythonPackage rec {
pname = "xborders";
version = "3.4"; # in version.txt
src = fetchFromGitHub {
owner = "deter0";
owner = "ElnuDev";
repo = "xborder";
rev = "d840ed649e92b7ad399cdb1a30aeca7d09f2c08f";
sha256 = "sha256-Q2WWXekUL/OOr/OBqJOZbAHaWURbP+coBVp206uPSNY=";
rev = "6a096b4df29e19fee45879c678c33c1a9ada2234";
sha256 = "sha256-y+Cip5fcDqnJr0aI3jqJMTt6iCV0faunM+Gk6HFZ5iA=";
};
buildInputs = [ libwnck gtk3 libnotify ];
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
propagatedBuildInputs = with python3Packages; [ pycairo requests pygobject3 ];
buildInputs = [
libwnck
gtk3
libnotify
];
nativeBuildInputs = [
wrapGAppsHook
gobject-introspection
];
propagatedBuildInputs = with python3Packages; [
pycairo
requests
pygobject3
];
preBuild = ''
sed '52,58!d' ${pname}
sed -i '51 a\ return ${version}' ${pname}
cat >setup.py <<'EOF'
from setuptools import setup
setup(
@ -24,11 +38,12 @@ with pkgs; callPackage python3Packages.buildPythonPackage rec {
description='${meta.description}',
install_requires=['pycairo', 'requests', 'PyGObject'],
scripts=[
'${pname}',
'xborders',
],
)
EOF
'';
meta = with lib; {
description = "Active window border replacement for window managers.";
homepage = "https://github.com/deter0/xborder";