pyxdg: fix missing class field Type

Fixes #88593 by replacing call to missing Type field with getType()
This commit is contained in:
Michael Lingelbach 2020-06-05 15:34:35 -07:00
parent 7048a817b2
commit 1968f115b5

View File

@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
}:
buildPythonPackage rec {
@ -15,6 +16,14 @@ buildPythonPackage rec {
# error: invalid command 'test'
doCheck = false;
patches = [
# see: https://gitlab.freedesktop.org/xdg/pyxdg/-/merge_requests/5
(fetchpatch {
url = "https://gitlab.freedesktop.org/xdg/pyxdg/-/commit/78405aaa34463db2c6f33ca28ae2293dd3bb1e91.patch";
sha256 = "17cjax546rkqv5kvwczjqjdd6vmlvcxjanz0296dlfq23j2wbx63";
})
];
meta = with stdenv.lib; {
homepage = "http://freedesktop.org/wiki/Software/pyxdg";
description = "Contains implementations of freedesktop.org standards";