Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 646 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools_scm 5, pytestrunner 6, pytest 7, glibcLocales 8}: 9 10buildPythonPackage rec { 11 pname = "path.py"; 12 version = "10.3.1"; 13 name = "path.py-${version}"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "412706be1cd8ab723c77829f9aa0c4d4b7c7b26c7b1be0275a6841c3cb1001e0"; 18 }; 19 20 checkInputs = [ pytest pytestrunner ]; 21 buildInputs = [setuptools_scm glibcLocales ]; 22 23 LC_ALL="en_US.UTF-8"; 24 25 meta = { 26 description = "A module wrapper for os.path"; 27 homepage = http://github.com/jaraco/path.py; 28 license = lib.licenses.mit; 29 }; 30 31 checkPhase = '' 32 py.test test_path.py 33 ''; 34}