depot/third_party/nixpkgs/pkgs/development/python-modules/oocsi/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

32 lines
604 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "oocsi";
version = "0.4.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "020xfjvcgicj81zl3z9wnb2f9bha75bjw512b0cc38w66bniinjq";
};
# Tests are not shipped
doCheck = false;
pythonImportsCheck = [
"oocsi"
];
meta = with lib; {
description = "OOCSI library for Python";
homepage = "https://github.com/iddi/oocsi-python";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}