about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-09 10:22:31 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-09 20:10:32 +0100
commit692768dadb485010f5d8faf850fa0fa348f75797 (patch)
tree050c85baf74faa298e46d2fdb3efefd50a5d068a /pkgs/applications/video
parente814fd678650077257f5542e3786077a26ffd116 (diff)
subdl: fix attribute ordering, fix version
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/subdl/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/video/subdl/default.nix b/pkgs/applications/video/subdl/default.nix
index 1f0b424831b82..95f7be2cbcafe 100644
--- a/pkgs/applications/video/subdl/default.nix
+++ b/pkgs/applications/video/subdl/default.nix
@@ -2,7 +2,7 @@
 
 stdenv.mkDerivation {
   pname = "subdl";
-  version = "0.0pre.2017.11.06";
+  version = "unstable-2017-11.06";
 
   src = fetchFromGitHub {
     owner = "alexanderwink";
@@ -11,6 +11,12 @@ stdenv.mkDerivation {
     sha256 = "0kmk5ck1j49q4ww0lvas2767kwnzhkq0vdwkmjypdx5zkxz73fn8";
   };
 
+  buildInputs = [ python3 ];
+
+  installPhase = ''
+    install -vD subdl $out/bin/subdl
+  '';
+
   meta = {
     homepage = "https://github.com/alexanderwink/subdl";
     description = "A command-line tool to download subtitles from opensubtitles.org";
@@ -18,10 +24,4 @@ stdenv.mkDerivation {
     license = lib.licenses.gpl3;
     maintainers = [ lib.maintainers.exfalso ];
   };
-
-  buildInputs = [ python3 ];
-
-  installPhase = ''
-    install -vD subdl $out/bin/subdl
-  '';
 }