summary refs log tree commit diff
path: root/pkgs/tools/misc/semiphemeral
diff options
context:
space:
mode:
authorAmanjeev Sethi <aj@amanjeev.com>2021-04-25 16:19:16 -0400
committerAmanjeev Sethi <aj@amanjeev.com>2021-04-26 11:10:45 -0400
commit281efa2651794322779c5dd40483ea546b947f04 (patch)
tree544620e9f0066f899ebc0efa8b6f4b152147dd46 /pkgs/tools/misc/semiphemeral
parentbf4c2036af4f53d8a0906b6785d49038a7b8bec1 (diff)
downloadnixpkgs-281efa2651794322779c5dd40483ea546b947f04.tar
nixpkgs-281efa2651794322779c5dd40483ea546b947f04.tar.gz
nixpkgs-281efa2651794322779c5dd40483ea546b947f04.tar.bz2
nixpkgs-281efa2651794322779c5dd40483ea546b947f04.tar.lz
nixpkgs-281efa2651794322779c5dd40483ea546b947f04.tar.xz
nixpkgs-281efa2651794322779c5dd40483ea546b947f04.tar.zst
nixpkgs-281efa2651794322779c5dd40483ea546b947f04.zip
semiphemeral: init at 0.6
semiphemeral: init at 0.6

semiphemeral: init at 0.6

semiphemeral: init at 0.6

semiphemeral: fix formatting

semiphemeral: refactor for flexibility

semiphemeral: remove extraneous inherit

semiphemeral: no check since upstream has no tests

semiphemeral: refactor move to misc instead of social/twitter

semiphemeral: fix formatting
Diffstat (limited to 'pkgs/tools/misc/semiphemeral')
-rw-r--r--pkgs/tools/misc/semiphemeral/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/semiphemeral/default.nix b/pkgs/tools/misc/semiphemeral/default.nix
new file mode 100644
index 00000000000..67f0f62e877
--- /dev/null
+++ b/pkgs/tools/misc/semiphemeral/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "semiphemeral";
+  version = "0.6";
+
+  src = python3.pkgs.fetchPypi {
+    inherit pname version;
+    sha256 = "c90d73b14c826f262b1339d1f5926c5abc6431181090ea87177af821c0866fb7";
+  };
+
+  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 ];
+  };
+}