python310Packages.send2trash: 1.8.1b0 -> 1.8.2
Diff: https://github.com/hsoft/send2trash/compare/refs/tags/1.8.1b0...1.8.2 Changelog: https://github.com/arsenetar/send2trash/blob/1.8.2/CHANGES.rst
This commit is contained in:
parent
e48238ad90
commit
cdefa95fbf
1 changed files with 2 additions and 11 deletions
|
@ -7,25 +7,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "Send2Trash";
|
||||
version = "1.8.1b0";
|
||||
version = "1.8.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hsoft";
|
||||
repo = "send2trash";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-kDUEfyMTk8CXSxTEi7E6kl09ohnWHeaoif+EIaIJh9Q=";
|
||||
hash = "sha256-p0Pd9g+nLoT+oruthwjBn2E9rznvcx35VmzOAce2iTY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Confuses setuptools validation
|
||||
# setuptools.extern.packaging.requirements.InvalidRequirement: One of the parsed requirements in `extras_require[win32]` looks like a valid environment marker: 'sys_platform == "win32"'
|
||||
sed -i '/win32 =/d' setup.cfg
|
||||
|
||||
# setuptools.extern.packaging.requirements.InvalidRequirement: One of the parsed requirements in `extras_require[objc]` looks like a valid environment marker: 'sys_platform == "darwin"'
|
||||
sed -i '/objc =/d' setup.cfg
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue