at master 933 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 docopt-subcommands, 7 future, 8 pytestCheckHook, 9 hypothesis, 10}: 11 12buildPythonPackage { 13 pname = "eseries"; 14 version = "1.2.1-unstable-2023-12-17"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "rob-smallshire"; 19 repo = "eseries"; 20 rev = "3becd72de8b1b533b4a637169022231271a934fb"; # no tags 21 hash = "sha256-iQBh4L+t24pOBh86wEqu5e6/RUmTQdCX+rOV/H2ywaY="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 docopt-subcommands 28 future 29 ]; 30 31 pythonImportsCheck = [ "eseries" ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 hypothesis 36 ]; 37 38 meta = { 39 description = "Find value in the E-series used for electronic components values"; 40 homepage = "https://github.com/rob-smallshire/eseries"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ sigmanificient ]; 43 mainProgram = "eseries"; 44 }; 45}