depot/third_party/nixpkgs/pkgs/development/python-modules/durus/default.nix

35 lines
720 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "durus";
version = "4.2";
src = fetchPypi {
pname = "Durus";
inherit version;
hash = "sha256:1gzxg43zawwgqjrfixvcrilwpikb1ix9b7710rsl5ffk7q50yi3c";
};
# 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";
mainProgram = "durus";
homepage = "https://github.com/nascheme/durus";
license = licenses.mit;
maintainers = with maintainers; [ grindhold ];
};
}