1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools_scm 5, pytestrunner 6, pytest 7, glibcLocales 8, packaging 9}: 10 11buildPythonPackage rec { 12 pname = "path.py"; 13 version = "11.0.1"; 14 name = pname + "-" + version; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "e7eb9d0ca4110d9b4d7c9baa0696d8c94f837d622409cefc5ec9e7c3d02ea11f"; 19 }; 20 21 checkInputs = [ pytest pytestrunner glibcLocales packaging ]; 22 buildInputs = [ setuptools_scm ]; 23 24 LC_ALL="en_US.UTF-8"; 25 26 meta = { 27 description = "A module wrapper for os.path"; 28 homepage = https://github.com/jaraco/path.py; 29 license = lib.licenses.mit; 30 }; 31 32 checkPhase = '' 33 # Ignore pytest configuration 34 rm pytest.ini 35 py.test test_path.py 36 ''; 37}