nixpkgs-suyu/pkgs/development/python-modules/oocsi/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

32 lines
601 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "oocsi";
version = "0.4.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-AgDBsPoi0aQ6uglc7Zl4gxVmeyDCysoef5vZpxgwE/Q=";
};
# 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 ];
};
}