git.iko.soy/typeable/nixpkgs
on master help sign in
buildtorrent: update URL to HTTPS
commit507a352361b9ebda2552ced5f7c1a8ea802157d3 authorAndersonTorres <torres.anderson.85@protonmail.com> dateSun 25 Oct 2020, 21:41 (6 years ago) parent852d2a3
1 file changed+6−8
pkgs/tools/misc/buildtorrent/default.nix+6−8
pkgs/tools/misc/buildtorrent/default.nix+6−8
@@ -1,20 +1,18 @@
11{ stdenv, fetchurl }:
22
3−let version = "0.8"; in
4−
53stdenv.mkDerivation rec {
64 pname = "buildtorrent";
7− inherit version;
5+ version = "0.8";
86
97 src = fetchurl {
108 url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
11− sha256 = "e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0";
9+ sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
1210 };
1311
14− meta = {
12+ meta = with stdenv.lib; {
1513 description = "A simple commandline torrent creator";
16− homepage = "http://mathr.co.uk/blog/torrent.html";
17− license = stdenv.lib.licenses.gpl3Plus;
18− platforms = stdenv.lib.platforms.all;
14+ homepage = "https://mathr.co.uk/blog/torrent.html";
15+ license = licenses.gpl3Plus;
16+ platforms = platforms.all;
1917 };
2018}