nixpkgs-suyu/pkgs/tools/misc/buildtorrent/default.nix

20 lines
472 B
Nix
Raw Normal View History

2017-04-20 03:42:49 +02:00
{ stdenv, fetchurl }:
let version = "0.8"; in
stdenv.mkDerivation rec {
name = "buildtorrent-${version}";
2017-04-20 03:42:49 +02:00
src = fetchurl {
url = "http://mathr.co.uk/blog/code/${name}.tar.gz";
2017-04-20 03:42:49 +02:00
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;
};
}