From bf4c2036af4f53d8a0906b6785d49038a7b8bec1 Mon Sep 17 00:00:00 2001 From: Amanjeev Sethi Date: Sun, 25 Apr 2021 15:49:26 -0400 Subject: [PATCH 1/2] maintainers: add Amanjeev Sethi --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 36140b3889bd..cfa59864b960 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -492,6 +492,12 @@ fingerprint = "B422 CFB1 C9EF 73F7 E1E2 698D F53E 3233 42F7 A6D3A"; }]; }; + amanjeev = { + email = "aj@amanjeev.com"; + github = "amanjeev"; + githubId = 160476; + name = "Amanjeev Sethi"; + }; amar1729 = { email = "amar.paul16@gmail.com"; github = "amar1729"; From 281efa2651794322779c5dd40483ea546b947f04 Mon Sep 17 00:00:00 2001 From: Amanjeev Sethi Date: Sun, 25 Apr 2021 16:19:16 -0400 Subject: [PATCH 2/2] 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 --- pkgs/tools/misc/semiphemeral/default.nix | 26 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/misc/semiphemeral/default.nix diff --git a/pkgs/tools/misc/semiphemeral/default.nix b/pkgs/tools/misc/semiphemeral/default.nix new file mode 100644 index 000000000000..67f0f62e877f --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5b7420896f8e..a3414accf304 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25795,6 +25795,8 @@ in secretscanner = callPackage ../tools/security/secretscanner { }; + semiphemeral = callPackage ../tools/misc/semiphemeral { }; + sent = callPackage ../applications/misc/sent { }; seq24 = callPackage ../applications/audio/seq24 { };