Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 23 lines 590 B view raw
1{ lib, fetchPypi, buildPythonPackage }: 2 3buildPythonPackage rec { 4 pname = "distro"; 5 version = "1.5.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92"; 10 }; 11 12 # tests are very targeted at individual linux distributions 13 doCheck = false; 14 15 pythonImportsCheck = [ "distro" ]; 16 17 meta = with lib; { 18 homepage = "https://github.com/nir0s/distro"; 19 description = "Linux Distribution - a Linux OS platform information API."; 20 license = licenses.asl20; 21 maintainers = with maintainers; [ ]; 22 }; 23}