Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 nose, 6 six, 7}: 8 9buildPythonPackage rec { 10 pname = "scales"; 11 version = "1.0.9"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "8b6930f7d4bf115192290b44c757af5e254e3fcfcb75ff9a51f5c96a404e2753"; 17 }; 18 19 nativeCheckInputs = [ nose ]; 20 propagatedBuildInputs = [ six ]; 21 22 # No tests included 23 doCheck = false; 24 25 meta = with lib; { 26 description = "Stats for Python processes"; 27 homepage = "https://www.github.com/Cue/scales"; 28 license = licenses.asl20; 29 }; 30}