Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 25 lines 602 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }: 2 3buildPythonPackage rec { 4 pname = "distro"; 5 version = "1.2.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 = "d94370e43b676ac44fbe1ab68ca903a6147eaba3a9e8eff85b2c05556a455b76"; 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}