nixpkgs/pkgs/tools/misc/semiphemeral/default.nix
2024-01-12 10:01:14 +00:00

29 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";
};
}