first commit
This commit is contained in:
commit
8e878042dd
16 changed files with 1204 additions and 0 deletions
31
packages/dbus-idle.nix
Normal file
31
packages/dbus-idle.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
with pkgs.python3Packages;
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-idle";
|
||||
version = "2025.5.1";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "dbus_idle";
|
||||
version = version;
|
||||
sha256 = "sha256-Q4nU5/f/LHmbTLfsVKqRE6M3N6bNqSGyN6BeWcJQonY=";
|
||||
};
|
||||
|
||||
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
|
||||
jeepney
|
||||
];
|
||||
}
|
||||
31
packages/dbus-mediaplayer.nix
Normal file
31
packages/dbus-mediaplayer.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
with pkgs.python3Packages;
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-mediaplayer";
|
||||
version = "2025.6.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "dbus_mediaplayer";
|
||||
version = version;
|
||||
sha256 = "sha256-5qEBwEme1T6ntNUDeJ1HEBwvqUHaFAzhQwo72egK78Q=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=69.2.0" "setuptools" \
|
||||
--replace-fail "wheel~=0.43.0" "wheel"
|
||||
'';
|
||||
|
||||
build-system = [setuptools];
|
||||
|
||||
dependencies = [
|
||||
# Build system
|
||||
setuptools
|
||||
wheel
|
||||
|
||||
# dependencies
|
||||
jeepney
|
||||
];
|
||||
}
|
||||
32
packages/dbus-networkdevices.nix
Normal file
32
packages/dbus-networkdevices.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
with pkgs.python3Packages;
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-networkdevices";
|
||||
version = "2024.7.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "dbus_networkdevices";
|
||||
version = version;
|
||||
sha256 = "sha256-LCzU3zkZ+foLFns4KkXMxp5YYgoSGSICpHuioYpvkXE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=69.2.0" "setuptools" \
|
||||
--replace-fail "wheel~=0.43.0" "wheel"
|
||||
'';
|
||||
|
||||
build-system = [setuptools];
|
||||
|
||||
dependencies = [
|
||||
# Build system
|
||||
setuptools
|
||||
wheel
|
||||
|
||||
# dependencies
|
||||
dasbus
|
||||
pygobject3
|
||||
];
|
||||
}
|
||||
31
packages/dbus-notification.nix
Normal file
31
packages/dbus-notification.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
with pkgs.python3Packages;
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-notification";
|
||||
version = "2025.10.1";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "dbus_notification";
|
||||
version = version;
|
||||
sha256 = "sha256-oEcnh985STL/AnLWUULiXEhxq+tcrAGlYpX9Yz7oEWQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=69.2.0" "setuptools" \
|
||||
--replace-fail "wheel~=0.43.0" "wheel"
|
||||
'';
|
||||
|
||||
build-system = [setuptools];
|
||||
|
||||
dependencies = [
|
||||
# Build system
|
||||
setuptools
|
||||
wheel
|
||||
|
||||
# dependencies
|
||||
jeepney
|
||||
];
|
||||
}
|
||||
57
packages/nvsmi.nix
Normal file
57
packages/nvsmi.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
with pkgs.python3Packages;
|
||||
buildPythonPackage {
|
||||
pname = "nvsmi";
|
||||
version = "0.4.2";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "pmav99";
|
||||
repo = "nvsmi";
|
||||
rev = "0.4.2";
|
||||
sha256 = "sha256-oyvkxW9dNxc3Izko88BcVSDQJcpafN6qoxuPt69n5Cg=";
|
||||
};
|
||||
|
||||
build-system = [poetry-core];
|
||||
|
||||
dependencies = [
|
||||
# Build system
|
||||
poetry-core
|
||||
|
||||
# dependencies
|
||||
# appdirs
|
||||
# aspy-yaml
|
||||
# bump2version
|
||||
# cfgv
|
||||
# distlib
|
||||
# filelock
|
||||
# identify
|
||||
# importlib-metadata
|
||||
# importlib-resources
|
||||
# nodeenv
|
||||
# pyyaml
|
||||
# six
|
||||
# toml
|
||||
# virtualenv
|
||||
# zipp
|
||||
|
||||
pbs-installer
|
||||
tomlkit
|
||||
cleo
|
||||
shellingham
|
||||
fastjsonschema
|
||||
dulwich
|
||||
requests-toolbelt
|
||||
pkginfo
|
||||
trove-classifiers
|
||||
keyring
|
||||
requests
|
||||
cachecontrol
|
||||
findpython
|
||||
httpx
|
||||
zstandard
|
||||
];
|
||||
|
||||
nativeBuildInputs = [pkgs.poetry pkgs.pre-commit poetry-core];
|
||||
}
|
||||
31
packages/pyamdgpuinfo.nix
Normal file
31
packages/pyamdgpuinfo.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
with pkgs.python3Packages;
|
||||
buildPythonPackage rec {
|
||||
pname = "pyamdgpuinfo";
|
||||
version = "2.1.7";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = pname;
|
||||
version = version;
|
||||
sha256 = "sha256-lbT1YYwycfle3vjhDdr4mhOg0e27A73QXY9KkwqhJbA=";
|
||||
};
|
||||
|
||||
build-system = [setuptools];
|
||||
|
||||
dependencies = [
|
||||
# Build system
|
||||
setuptools
|
||||
wheel
|
||||
|
||||
# dependencies
|
||||
cython
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace-fail "/usr/include/libdrm" "${pkgs.libdrm.dev}/include/libdrm"
|
||||
'';
|
||||
|
||||
buildInputs = [pkgs.libdrm.dev];
|
||||
}
|
||||
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