git.iko.soy/typeable/nixpkgs
on master help sign in
buildtorrent: update URL to HTTPS
507a352AndersonTorres
pkgs/tools/misc/buildtorrent/default.nix+6−8
@@ -1,20 +1,18 @@
1{ stdenv, fetchurl }:
1{ stdenv, fetchurl }:
2
2
3−let version = "0.8"; in
4−
5stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
6 pname = "buildtorrent";
4 pname = "buildtorrent";
7− inherit version;
5+ version = "0.8";
8
6
9 src = fetchurl {
7 src = fetchurl {
10 url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
8 url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
11− sha256 = "e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0";
9+ sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
12 };
10 };
13
11
14− meta = {
12+ meta = with stdenv.lib; {
15 description = "A simple commandline torrent creator";
13 description = "A simple commandline torrent creator";
16− homepage = "http://mathr.co.uk/blog/torrent.html";
14+ homepage = "https://mathr.co.uk/blog/torrent.html";
17− license = stdenv.lib.licenses.gpl3Plus;
15+ license = licenses.gpl3Plus;
18− platforms = stdenv.lib.platforms.all;
16+ platforms = platforms.all;
19 };
17 };
20}
18}