depot/third_party/nixpkgs/pkgs/development/python-modules/yoyo-migrations/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

36 lines
700 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, importlib-metadata
, setuptools
, sqlparse
, tabulate
}:
buildPythonPackage rec {
pname = "yoyo-migrations";
version = "8.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "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 ];
};
}