2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
}:
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "durus";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "4.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "Durus";
|
|
|
|
inherit version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256:1gzxg43zawwgqjrfixvcrilwpikb1ix9b7710rsl5ffk7q50yi3c";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Checks disabled due to missing python unittest framework 'sancho' in nixpkgs
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"durus.connection"
|
|
|
|
"durus.file_storage"
|
|
|
|
"durus.client_storage"
|
|
|
|
"durus.sqlite_storage"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Object persistence layer";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "durus";
|
2022-04-27 09:35:20 +00:00
|
|
|
homepage = "https://github.com/nascheme/durus";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ grindhold ];
|
|
|
|
};
|
|
|
|
}
|