nur-packages

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

default.nix (746B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   bounded-pool-executor,
      6 }:
      7 
      8 python3Packages.buildPythonPackage rec {
      9   pname = "pqdm";
     10   version = "0.2.0";
     11 
     12   src = fetchFromGitHub {
     13     owner = "niedakh";
     14     repo = "pqdm";
     15     rev = "v${version}";
     16     hash = "sha256-qB/0TOxD7XCLsr3bKDIKZvYa8g2N95SzTeDiRgJp3Jk=";
     17   };
     18 
     19   dependencies = with python3Packages; [
     20     bounded-pool-executor
     21     tqdm
     22     typing-extensions
     23   ];
     24 
     25   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     26 
     27   pythonImportsCheck = [ "pqdm" ];
     28 
     29   meta = {
     30     description = "Comfortable parallel TQDM using concurrent.futures";
     31     homepage = "https://github.com/niedakh/pqdm";
     32     license = lib.licenses.mit;
     33     maintainers = [ lib.maintainers.sikmir ];
     34   };
     35 }