summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2020-01-11 16:04:57 -0500
committerGitHub <noreply@github.com>2020-01-11 16:04:57 -0500
commit708a1772ed3fa19159217304bd6607253b124e07 (patch)
tree5d2d4f578bf5a680f947f5ec297c152dc96342f1
parentf5f06128b4b111ca929edcc0ae9dc7d273412da3 (diff)
parent687e31c68880cccb6f16954b5647a7ac7cd9e202 (diff)
downloadnixpkgs-708a1772ed3fa19159217304bd6607253b124e07.tar
nixpkgs-708a1772ed3fa19159217304bd6607253b124e07.tar.gz
nixpkgs-708a1772ed3fa19159217304bd6607253b124e07.tar.bz2
nixpkgs-708a1772ed3fa19159217304bd6607253b124e07.tar.lz
nixpkgs-708a1772ed3fa19159217304bd6607253b124e07.tar.xz
nixpkgs-708a1772ed3fa19159217304bd6607253b124e07.tar.zst
nixpkgs-708a1772ed3fa19159217304bd6607253b124e07.zip
Merge pull request #75817 from filalex77/tuir-1.28.3
tuir: init at 1.28.03
-rw-r--r--pkgs/applications/misc/tuir/default.nix32
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tuir/default.nix b/pkgs/applications/misc/tuir/default.nix
new file mode 100644
index 00000000000..e479dc26f17
--- /dev/null
+++ b/pkgs/applications/misc/tuir/default.nix
@@ -0,0 +1,32 @@
+{ lib, fetchFromGitLab, python3Packages }:
+
+with python3Packages;
+buildPythonApplication rec {
+  pname = "tuir";
+  version = "1.28.3";
+
+  src = fetchFromGitLab {
+    owner = "ajak";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0nhpbb0vdngwb0fhlimjgm3wq2s67m4rb3vv920zyllnmfplk0lk";
+  };
+
+  # Tests try to access network
+  doCheck = false;
+
+  checkPhase = ''
+    py.test
+  '';
+
+  checkInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
+
+  propagatedBuildInputs = [ beautifulsoup4 decorator kitchen requests ];
+
+  meta = with lib; {
+    description = "Browse Reddit from your Terminal (fork of rtv)";
+    homepage = "https://gitlab.com/ajak/tuir/";
+    license = licenses.mit;
+    maintainers = with maintainers; [ filalex77 matthiasbeyer ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index afa0f760c05..bb8fe328524 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6888,6 +6888,8 @@ in
 
   ttylog = callPackage ../tools/misc/ttylog { };
 
+  tuir = callPackage ../applications/misc/tuir { };
+
   turses = callPackage ../applications/networking/instant-messengers/turses { };
 
   oysttyer = callPackage ../applications/networking/instant-messengers/oysttyer { };