Skip to content

Commit

Permalink
pyxdg: fix missing class field Type
Browse files Browse the repository at this point in the history
Fixes NixOS#88593 by replacing call to missing Type field with getType()
  • Loading branch information
mjlbach committed Jun 6, 2020
1 parent 7048a81 commit 1968f11
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/pyxdg/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
}:

buildPythonPackage rec {
Expand All @@ -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";
Expand Down

0 comments on commit 1968f11

Please sign in to comment.