at 23.05-pre 946 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, mock 6, blessings 7, nose 8, nose_progressive 9, pillow 10, args 11, pkgs 12}: 13 14buildPythonPackage rec { 15 pname = "clint"; 16 version = "0.5.1"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "1an5lkkqk1zha47198p42ji3m94xmzx1a03dn7866m87n4r4q8h5"; 21 }; 22 23 LC_ALL="en_US.UTF-8"; 24 25 propagatedBuildInputs = [ pillow blessings args ]; 26 27 # nose-progressive and clint are not actively maintained 28 # no longer compatible as behavior demand 2to3, which was removed 29 # in setuptools>=58 30 doCheck = false; 31 checkInputs = [ mock nose nose_progressive pkgs.glibcLocales ]; 32 checkPhase = '' 33 ${python.interpreter} test_clint.py 34 ''; 35 36 pythonImportsCheck = [ "clint" ]; 37 38 meta = with lib; { 39 homepage = "https://github.com/kennethreitz/clint"; 40 description = "Python Command Line Interface Tools"; 41 license = licenses.isc; 42 maintainers = with maintainers; [ domenkozar ]; 43 }; 44 45}