nixpkgs/pkgs/development/python-modules/oocsi/default.nix

33 lines
603 B
Nix
Raw Normal View History

2021-11-16 21:54:07 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "oocsi";
2022-01-05 22:39:06 +00:00
version = "0.4.3";
2021-11-16 21:54:07 +00:00
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
2022-01-05 22:39:06 +00:00
sha256 = "sha256-AgDBsPoi0aQ6uglc7Zl4gxVmeyDCysoef5vZpxgwE/Q=";
2021-11-16 21:54:07 +00:00
};
# 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 ];
};
}