nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (884B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   python-cmr,
      6   pqdm,
      7   tinynetrc,
      8 }:
      9 
     10 python3Packages.buildPythonPackage rec {
     11   pname = "earthaccess";
     12   version = "0.11.0";
     13   pyproject = true;
     14 
     15   src = fetchFromGitHub {
     16     owner = "nsidc";
     17     repo = "earthaccess";
     18     rev = "v${version}";
     19     hash = "sha256-N4pRODkCPUNW3EPTLgtSscHJv4B/YN37VNOhzCC33+M=";
     20   };
     21 
     22   build-system = with python3Packages; [
     23     hatchling
     24     hatch-vcs
     25   ];
     26 
     27   dependencies = with python3Packages; [
     28     python-cmr
     29     pqdm
     30     requests
     31     s3fs
     32     fsspec
     33     tinynetrc
     34     multimethod
     35     importlib-resources
     36     typing-extensions
     37     numpy
     38   ];
     39 
     40   pythonImportsCheck = [ "earthaccess" ];
     41 
     42   meta = {
     43     description = "Client library for NASA Earthdata APIs";
     44     homepage = "https://github.com/nsidc/earthaccess";
     45     license = lib.licenses.mit;
     46     maintainers = [ lib.maintainers.sikmir ];
     47   };
     48 }