depot/third_party/nixpkgs/pkgs/development/python-modules/autocommand/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

31 lines
712 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "autocommand";
version = "2.2.1";
src = fetchFromGitHub {
owner = "Lucretiel";
repo = "autocommand";
rev = version;
sha256 = "sha256-bjoVGfP57qhvPuHHcMP8JQddAaW4/fEyatElk1UEPZo=";
};
# fails with: SyntaxError: invalid syntax
doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "autocommand" ];
meta = with lib; {
description = " Autocommand turns a python function into a CLI program ";
homepage = "https://github.com/Lucretiel/autocommand";
license = licenses.lgpl3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}