mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
0215034f25
when they already rely on SRI hashes.
33 lines
601 B
Nix
33 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 ];
|
|
};
|
|
}
|