summary refs log tree commit diff
path: root/pkgs/tools/misc/buildtorrent/default.nix
blob: ce357a1d491e1e2cd54ba4f24a9e08c0c4c454bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "buildtorrent";
  version = "0.8";

  src = fetchurl {
    url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
    sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
  };

  meta = with lib; {
    description = "A simple commandline torrent creator";
    homepage = "https://mathr.co.uk/blog/torrent.html";
    license = licenses.gpl3Plus;
    platforms = platforms.all;
  };
}