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

let version = "0.8"; in

stdenv.mkDerivation rec {
  name = "buildtorrent-${version}";

  src = fetchurl {
    url = "https://mathr.co.uk/blog/code/${name}.tar.gz";
    sha256 = "e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0";
  };

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