Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 634 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }: 2 3buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "distro"; 6 version = "1.0.4"; 7 8 buildInputs = [ pytest pytestcov tox]; 9 10 checkPhase = '' 11 touch tox.ini 12 tox 13 ''; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "9b000b0d637bb0cbd130a7a4835681e6993e309a85564dfea9d884825fe46954"; 18 }; 19 20 meta = with stdenv.lib; { 21 homepage = https://github.com/nir0s/distro; 22 description = "Linux Distribution - a Linux OS platform information API."; 23 license = licenses.asl20; 24 maintainers = with maintainers; [ nand0p ]; 25 }; 26}