depot/third_party/nixpkgs/pkgs/development/python-modules/leather/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

41 lines
703 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, six
, cssselect
, lxml
, nose
}:
buildPythonPackage rec {
pname = "leather";
version = "0.3.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b43e21c8fa46b2679de8449f4d953c06418666dc058ce41055ee8a8d3bb40918";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [
cssselect
lxml
nose
];
checkPhase = ''
runHook preCheck
nosetests
runHook postCheck
'';
meta = with lib; {
homepage = "http://leather.rtfd.io";
description = "Python charting library";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ vrthra ];
};
}