nixpkgs/pkgs/development/python-modules/multitasking/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

26 lines
600 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "multitasking";
version = "0.0.11";
# GitHub source releases aren't tagged
src = fetchPypi {
inherit pname version;
hash = "sha256-TWvDzGX5stynL7Wnh4UKiNro9iDCs2rptVJI5RvNYCY=";
};
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 ];
};
}