first commit
This commit is contained in:
commit
8e878042dd
16 changed files with 1204 additions and 0 deletions
31
packages/xlib-hotkeys.nix
Normal file
31
packages/xlib-hotkeys.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
with pkgs.python3Packages;
|
||||
buildPythonPackage rec {
|
||||
pname = "xlib-hotkeys";
|
||||
version = "2024.3.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "xlib_hotkeys";
|
||||
version = version;
|
||||
sha256 = "sha256-KRGoZ45OgU5UOMZImTDIrgTXFPzaAN0N/IvHeonW2UU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=68.0.0" "setuptools" \
|
||||
--replace-fail "wheel~=0.40.0" "wheel"
|
||||
'';
|
||||
|
||||
build-system = [setuptools];
|
||||
|
||||
dependencies = [
|
||||
# Build system
|
||||
setuptools
|
||||
wheel
|
||||
|
||||
# dependencies
|
||||
xlib
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue