1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 hypothesis, 7 reprshed, 8}: 9 10buildPythonPackage rec { 11 pname = "macaddress"; 12 version = "2.0.2"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "mentalisttraceur"; 17 repo = "python-macaddress"; 18 rev = "v${version}"; 19 hash = "sha256-2eD5Ui8kUduKLJ0mSiwaz7TQSeF1+2ASirp70V/8+EA="; 20 }; 21 22 pythonImportsCheck = [ "macaddress" ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 hypothesis 27 reprshed 28 ]; 29 30 enabledTestPaths = [ "test.py" ]; 31 32 meta = with lib; { 33 homepage = "https://github.com/mentalisttraceur/python-macaddress"; 34 description = "Module for handling hardware identifiers like MAC addresses"; 35 license = licenses.bsd0; 36 maintainers = with maintainers; [ netali ]; 37 }; 38}