Merge pull request #89570 from mjlbach/fix_pyxdg

pyxdg: fix call to missing class field Type
This commit is contained in:
Florian Klink 2020-06-08 15:31:47 +02:00 committed by GitHub
commit be483c8c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,6 +16,14 @@ buildPythonPackage rec {
# error: invalid command 'test' # error: invalid command 'test'
doCheck = false; 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; { meta = with stdenv.lib; {
homepage = "http://freedesktop.org/wiki/Software/pyxdg"; homepage = "http://freedesktop.org/wiki/Software/pyxdg";
description = "Contains implementations of freedesktop.org standards"; description = "Contains implementations of freedesktop.org standards";