depot/third_party/nixpkgs/pkgs/tools/misc/semiphemeral/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

28 lines
715 B
Nix

{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "semiphemeral";
version = "0.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-KRi3zfRWGRZJjQ6KPqBI9wQ6yU8Ohx0TDtA5qoak35U=";
};
doCheck = false; # upstream has no tests
pythonImportsCheck = [ "semiphemeral" ];
propagatedBuildInputs = with python3.pkgs; [ click sqlalchemy flask tweepy colorama ];
meta = with lib; {
description = "Automatically delete your old tweets, except for the ones you want to keep";
homepage = "https://github.com/micahflee/semiphemeral";
license = licenses.mit;
maintainers = with maintainers; [ amanjeev ];
mainProgram = "semiphemeral";
};
}