1{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }: 2 3buildPythonPackage rec { 4 pname = "distro"; 5 version = "1.3.0"; 6 7 buildInputs = [ pytest pytestcov tox]; 8 9 checkPhase = '' 10 touch tox.ini 11 tox 12 ''; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "224041cef9600e72d19ae41ba006e71c05c4dc802516da715d7fda55ba3d8742"; 17 }; 18 19 meta = with stdenv.lib; { 20 homepage = https://github.com/nir0s/distro; 21 description = "Linux Distribution - a Linux OS platform information API."; 22 license = licenses.asl20; 23 maintainers = with maintainers; [ nand0p ]; 24 }; 25}