1{ lib 2, buildPythonPackage 3, fetchPypi 4, click 5}: 6 7buildPythonPackage rec { 8 pname = "userpath"; 9 version = "1.7.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256="sha256-3NZsX6mxo8EjYvMJu7W8eZK6yK+G0XtOaxpLFmoRxD8="; 14 }; 15 16 propagatedBuildInputs = [ click ]; 17 18 # test suite is difficult to emulate in sandbox due to shell manipulation 19 doCheck = false; 20 21 pythonImportsCheck = [ "click" "userpath" ]; 22 23 meta = with lib; { 24 description = "Cross-platform tool for adding locations to the user PATH"; 25 homepage = "https://github.com/ofek/userpath"; 26 license = [ licenses.asl20 licenses.mit ]; 27 maintainers = with maintainers; [ yshym ]; 28 }; 29}