depot/third_party/nixpkgs/pkgs/development/python-modules/case/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

40 lines
696 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, pythonOlder
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "case";
version = "1.5.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
};
propagatedBuildInputs = [
nose
six
];
# No real unittests, only coverage
doCheck = false;
pythonImportsCheck = [
"case"
];
meta = with lib; {
homepage = "https://github.com/celery/case";
description = "Utilities for unittests handling";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}