nur-packages

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

default.nix (822B)


      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   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "niedakh";
     15     repo = "pqdm";
     16     tag = "v${version}";
     17     hash = "sha256-qB/0TOxD7XCLsr3bKDIKZvYa8g2N95SzTeDiRgJp3Jk=";
     18   };
     19 
     20   build-system = with python3Packages; [ setuptools ];
     21 
     22   dependencies = with python3Packages; [
     23     bounded-pool-executor
     24     tqdm
     25     typing-extensions
     26   ];
     27 
     28   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     29 
     30   pythonImportsCheck = [ "pqdm" ];
     31 
     32   meta = {
     33     description = "Comfortable parallel TQDM using concurrent.futures";
     34     homepage = "https://github.com/niedakh/pqdm";
     35     license = lib.licenses.mit;
     36     maintainers = [ lib.maintainers.sikmir ];
     37   };
     38 }