diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-10-25 21:41:53 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-10-26 01:21:00 -0300 |
commit | 507a352361b9ebda2552ced5f7c1a8ea802157d3 (patch) | |
tree | c941dc279d186b2ea43947cf3079401134a06212 /pkgs/tools/misc/buildtorrent/default.nix | |
parent | 852d2a3af95508ee9612d1cbe2224b3fb24f315d (diff) |
buildtorrent: update URL to HTTPS
Diffstat (limited to 'pkgs/tools/misc/buildtorrent/default.nix')
-rw-r--r-- | pkgs/tools/misc/buildtorrent/default.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/tools/misc/buildtorrent/default.nix b/pkgs/tools/misc/buildtorrent/default.nix index 150371f82b6e1..d3d3651c2b057 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; }; } |