depot/third_party/nixpkgs/pkgs/development/python-modules/autocommand/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

31 lines
706 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;
checkInputs = [ 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 ];
};
}