From 9e8218bb25d9764a8e959ef7b1db04ccfb8a46aa Mon Sep 17 00:00:00 2001 From: Drew Risinger Date: Mon, 10 Aug 2020 18:39:45 -0400 Subject: [PATCH] python3Packages.multitasking: init at 0.0.9 Dependency for python3Packages.yfinance --- .../python-modules/multitasking/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/multitasking/default.nix diff --git a/pkgs/development/python-modules/multitasking/default.nix b/pkgs/development/python-modules/multitasking/default.nix new file mode 100644 index 000000000000..8ea4d633f662 --- /dev/null +++ b/pkgs/development/python-modules/multitasking/default.nix @@ -0,0 +1,25 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "multitasking"; + version = "0.0.9"; + + # GitHub source releases aren't tagged + src = fetchPypi { + inherit pname version; + sha256 = "b59d99f709d2e17d60ccaa2be09771b6e9ed9391c63f083c0701e724f624d2e0"; + }; + + doCheck = false; # No tests included + pythonImportsCheck = [ "multitasking" ]; + + meta = with lib; { + description = "Non-blocking Python methods using decorators"; + homepage = "https://github.com/ranaroussi/multitasking"; + license = licenses.asl20; + maintainers = with maintainers; [ drewrisinger ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 06539d1feb13..9722739aded0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4903,6 +4903,8 @@ in { multiprocess = callPackage ../development/python-modules/multiprocess { }; + multitasking = callPackage ../development/python-modules/multitasking { }; + munkres = callPackage ../development/python-modules/munkres { }; musicbrainzngs = callPackage ../development/python-modules/musicbrainzngs { };