depot/third_party/nixpkgs/pkgs/development/python-modules/mando/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
822 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
# Python deps
six,
setuptools,
}:
buildPythonPackage rec {
pname = "mando";
version = "0.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "rubik";
repo = "mando";
rev = "v${version}";
hash = "sha256-Ylrrfo57jqGuWEqCa5RyTT9AagBpUvAfviHkyJPFv08=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ six ];
pythonImportsCheck = [ "mando" ];
meta = with lib; {
description = "Create Python CLI apps with little to no effort at all";
homepage = "https://mando.readthedocs.org";
changelog = "https://github.com/rubik/mando/blob/v${version}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ t4ccer ];
};
}