nixpkgs/pkgs/development/python-modules/wrapio/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

29 lines
626 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
}:
buildPythonPackage rec {
pname = "wrapio";
version = "2.0.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-CUocIbdZ/tJQCxAHzhFpB267ynlXf8Mu+thcRRc0yeg=";
};
doCheck = false;
pythonImportsCheck = [ "wrapio" ];
meta = with lib; {
description = "Handling event-based streams";
homepage = "https://github.com/Exahilosys/wrapio";
changelog = "https://github.com/Exahilosys/wrapio/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ sfrijters ];
};
}