about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/you-get
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/you-get')
-rw-r--r--nixpkgs/pkgs/tools/misc/you-get/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/you-get/default.nix b/nixpkgs/pkgs/tools/misc/you-get/default.nix
new file mode 100644
index 000000000000..f58fb349c959
--- /dev/null
+++ b/nixpkgs/pkgs/tools/misc/you-get/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildPythonApplication, fetchPypi }:
+
+buildPythonApplication rec {
+  pname = "you-get";
+  version = "0.4.1500";
+
+  # Tests aren't packaged, but they all hit the real network so
+  # probably aren't suitable for a build environment anyway.
+  doCheck = false;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "5a6cc0d661fe0cd4210bf467d6c89afd8611609e402690254722c1415736da92";
+  };
+
+  meta = with lib; {
+    description = "A tiny command line utility to download media contents from the web";
+    homepage = "https://you-get.org";
+    license = licenses.mit;
+    maintainers = with maintainers; [ ryneeverett ];
+    platforms = platforms.all;
+  };
+}