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 checkPhase = ''
26 ${python.interpreter} test_clint.py
27 '';
28
29 buildInputs = [ mock nose nose_progressive pkgs.glibcLocales ];
30 propagatedBuildInputs = [ pillow blessings args ];
31
32 meta = with lib; {
33 homepage = "https://github.com/kennethreitz/clint";
34 description = "Python Command Line Interface Tools";
35 license = licenses.isc;
36 maintainers = with maintainers; [ domenkozar ];
37 };
38
39}