Skip to content

Commit

Permalink
Merge pull request #101045 from mjlbach/feature/bump_pyxdg
Browse files Browse the repository at this point in the history
python: pyxdg: 0.26 -> 0.27
  • Loading branch information
SuperSandro2000 committed Dec 8, 2020
2 parents 5101b35 + 40389df commit 250ce0f
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions pkgs/development/python-modules/pyxdg/default.nix
@@ -1,30 +1,25 @@
{ stdenv
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, fetchFromGitLab
, nose
}:

buildPythonPackage rec {
pname = "pyxdg";
version = "0.26";
version = "0.27";

src = fetchPypi {
inherit pname version;
sha256 = "fe2928d3f532ed32b39c32a482b54136fe766d19936afc96c8f00645f9da1a06";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "xdg";
repo = pname;
rev = "rel-${version}";
sha256 = "1dg826vrc7ifkk4lnf648h61cqfamaqmngkn9hgmxnf9gqmkbn0k";
};

# error: invalid command 'test'
# Tests failed (errors=4, failures=4) on NixOS
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 lib; {
homepage = "http://freedesktop.org/wiki/Software/pyxdg";
description = "Contains implementations of freedesktop.org standards";
license = licenses.lgpl2;
Expand Down

0 comments on commit 250ce0f

Please sign in to comment.