nixpkgs/pkgs/development/python-modules/notify2/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

31 lines
654 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, pygobject3
, dbus-python
}:
buildPythonPackage rec {
pname = "notify2";
version = "0.3.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0z8rrv9rsg1r2qgh2dxj3dfj5xnki98kgi3w839kqby4a26i1yik";
};
# Tests require Xorg and Dbus instance
doCheck = false;
propagatedBuildInputs = [ pygobject3
dbus-python ];
meta = {
description = "Pure Python interface to DBus notifications";
homepage = "https://bitbucket.org/takluyver/pynotify2";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ mog ];
};
}