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

35 lines
637 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioymaps";
version = "1.2.3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-pW8FoMdA8XdQZmLRwk5SBBgFhYhgEMJPA9+b+8aicuE=";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aioymaps" ];
meta = with lib; {
description = "Python package fetch data from Yandex maps";
homepage = "https://github.com/devbis/aioymaps";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}