fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
38 lines
732 B
Nix
38 lines
732 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
importlib-metadata,
|
|
setuptools,
|
|
sqlparse,
|
|
tabulate,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yoyo-migrations";
|
|
version = "8.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ggYGoD4mLPHNT1niVsKPpEZCUiTVuCo9EnX9eBeFI+Q=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
importlib-metadata
|
|
setuptools
|
|
sqlparse
|
|
tabulate
|
|
];
|
|
|
|
doCheck = false; # pypi tarball does not contain tests
|
|
|
|
pythonImportsCheck = [ "yoyo" ];
|
|
|
|
meta = with lib; {
|
|
description = "Database schema migration tool";
|
|
homepage = "https://ollycope.com/software/yoyo";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ prusnak ];
|
|
};
|
|
}
|