{ lib
, python3Packages
, fetchPypi
}:

python3Packages.buildPythonApplication rec {
  pname = "legit";
  version = "1.2.0.post0";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-lJOWtoApqK9AWrIMkBkCNB72vVXH/sbatxFB1j1AaxE=";
  };

  propagatedBuildInputs = with python3Packages; [
    click
    clint
    crayons
    gitpython
    six
  ];

  # no tests
  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/frostming/legit";
    description = "Git for Humans, Inspired by GitHub for Mac";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ryneeverett ];
    mainProgram = "legit";
  };
}
