first commit
This commit is contained in:
commit
8e878042dd
16 changed files with 1204 additions and 0 deletions
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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue