mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
41 lines
678 B
Nix
41 lines
678 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, six
|
|
, cssselect
|
|
, lxml
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "leather";
|
|
version = "0.3.4";
|
|
|
|
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 ];
|
|
};
|
|
}
|