Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 865 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, fetchpatch 5}: 6 7buildPythonPackage rec { 8 pname = "pyxdg"; 9 version = "0.26"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "fe2928d3f532ed32b39c32a482b54136fe766d19936afc96c8f00645f9da1a06"; 14 }; 15 16 # error: invalid command 'test' 17 doCheck = false; 18 19 patches = [ 20 # see: https://gitlab.freedesktop.org/xdg/pyxdg/-/merge_requests/5 21 (fetchpatch { 22 url = "https://gitlab.freedesktop.org/xdg/pyxdg/-/commit/78405aaa34463db2c6f33ca28ae2293dd3bb1e91.patch"; 23 sha256 = "17cjax546rkqv5kvwczjqjdd6vmlvcxjanz0296dlfq23j2wbx63"; 24 }) 25 ]; 26 27 meta = with stdenv.lib; { 28 homepage = "http://freedesktop.org/wiki/Software/pyxdg"; 29 description = "Contains implementations of freedesktop.org standards"; 30 license = licenses.lgpl2; 31 maintainers = with maintainers; [ domenkozar ]; 32 }; 33 34}