Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, pytest, glibcLocales }: 2 3buildPythonPackage rec { 4 pname = "whichcraft"; 5 version = "0.5.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "fecddd531f237ffc5db8b215409afb18fa30300699064cca4817521b4fc81815"; 10 }; 11 12 LC_ALL="en_US.utf-8"; 13 buildInputs = [ glibcLocales ]; 14 15 checkInputs = [ pytest ]; 16 17 checkPhase = '' 18 py.test 19 ''; 20 21 meta = with lib; { 22 homepage = https://github.com/pydanny/whichcraft; 23 description = "Cross-platform cross-python shutil.which functionality"; 24 license = licenses.bsd3; 25 }; 26}