summary refs log tree commit diff
path: root/pkgs/tools/misc/buildtorrent
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2020-10-25 21:41:53 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2020-10-26 01:21:00 -0300
commit507a352361b9ebda2552ced5f7c1a8ea802157d3 (patch)
treec941dc279d186b2ea43947cf3079401134a06212 /pkgs/tools/misc/buildtorrent
parent852d2a3af95508ee9612d1cbe2224b3fb24f315d (diff)
downloadnixpkgs-507a352361b9ebda2552ced5f7c1a8ea802157d3.tar
nixpkgs-507a352361b9ebda2552ced5f7c1a8ea802157d3.tar.gz
nixpkgs-507a352361b9ebda2552ced5f7c1a8ea802157d3.tar.bz2
nixpkgs-507a352361b9ebda2552ced5f7c1a8ea802157d3.tar.lz
nixpkgs-507a352361b9ebda2552ced5f7c1a8ea802157d3.tar.xz
nixpkgs-507a352361b9ebda2552ced5f7c1a8ea802157d3.tar.zst
nixpkgs-507a352361b9ebda2552ced5f7c1a8ea802157d3.zip
buildtorrent: update URL to HTTPS
Diffstat (limited to 'pkgs/tools/misc/buildtorrent')
-rw-r--r--pkgs/tools/misc/buildtorrent/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/tools/misc/buildtorrent/default.nix b/pkgs/tools/misc/buildtorrent/default.nix
index 150371f82b6..d3d3651c2b0 100644
--- a/pkgs/tools/misc/buildtorrent/default.nix
+++ b/pkgs/tools/misc/buildtorrent/default.nix
@@ -1,20 +1,18 @@
 { stdenv, fetchurl }:
 
-let version = "0.8"; in
-
 stdenv.mkDerivation rec {
   pname = "buildtorrent";
-  inherit version;
+  version = "0.8";
 
   src = fetchurl {
     url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
-    sha256 = "e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0";
+    sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
   };
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "A simple commandline torrent creator";
-    homepage = "http://mathr.co.uk/blog/torrent.html";
-    license = stdenv.lib.licenses.gpl3Plus;
-    platforms = stdenv.lib.platforms.all;
+    homepage = "https://mathr.co.uk/blog/torrent.html";
+    license = licenses.gpl3Plus;
+    platforms = platforms.all;
   };
 }