mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
7197d2edb2
python310Packages.eth-typing: 3.1.0 -> 3.2.0
38 lines
832 B
Nix
38 lines
832 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "eth-typing";
|
|
version = "3.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ethereum";
|
|
repo = "eth-typing";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-klN38pIQ9ZOFV7dzXNvylPGfifR8pXRLTJ3VE579AY0=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"eth_typing"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Common type annotations for Ethereum Python packages";
|
|
homepage = "https://github.com/ethereum/eth-typing";
|
|
changelog = "https://github.com/ethereum/eth-typing/blob/v${version}/docs/release_notes.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|