summary refs log blame commit diff
path: root/pkgs/development/python-modules/pyicu/default.nix
blob: 45a24851150e394d6fb24b03e18e650f7cffc6ca (plain) (tree)
1
2
3
4
5
6
7
8
9
10
     

                    
                 
     
       



                        
                    


                          
                                                                                

    

                                                                                         
                                        
 
                    
                                                   

                                                              
                               


    
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, six
, icu68
}:

buildPythonPackage rec {
  pname = "PyICU";
  version = "2.7.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c0655302e2aea16f9acefe04152f74e5d7d70542e9e15c89ee8d763c8e097f56";
  };

  nativeBuildInputs = [ icu68 ]; # for icu-config, but should be replaced with pkg-config
  buildInputs = [ icu68 ];
  checkInputs = [ pytestCheckHook six ];

  meta = with lib; {
    homepage = "https://github.com/ovalhub/pyicu/";
    description = "Python extension wrapping the ICU C++ API";
    license = licenses.mit;
    platforms = platforms.unix;
  };

}