depot/third_party/nixpkgs/pkgs/development/python-modules/yoyo-migrations/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

30 lines
642 B
Nix

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