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


        
       




                        
                    
 




                            
                                                                    

    
                                      
                                                           
 


                 
 
                    
                                                   




                                                
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytest-cov
, numpy
, scipy
, cython
, numba
, six
}:

buildPythonPackage rec {
  pname = "resampy";
  version = "0.2.2";

  # No tests in PyPi Archive
  src = fetchFromGitHub {
    owner = "bmcfee";
    repo = pname;
    rev = version;
    sha256 = "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs";
  };

  checkInputs = [ pytest pytest-cov ];
  propagatedBuildInputs = [ numpy scipy cython numba six ];

  checkPhase = ''
    pytest tests
  '';

  meta = with lib; {
    homepage = "https://github.com/bmcfee/resampy";
    description = "Efficient signal resampling";
    license = licenses.isc;
  };

}