2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-04-20 01:42:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "buildtorrent";
|
2020-10-26 00:41:53 +00:00
|
|
|
version = "0.8";
|
2017-04-20 01:42:49 +00:00
|
|
|
|
2018-06-28 18:43:35 +00:00
|
|
|
src = fetchurl {
|
2019-08-13 21:52:01 +00:00
|
|
|
url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
|
2020-10-26 00:41:53 +00:00
|
|
|
sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
|
2018-06-28 18:43:35 +00:00
|
|
|
};
|
2017-04-20 01:42:49 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-28 18:43:35 +00:00
|
|
|
description = "A simple commandline torrent creator";
|
2020-10-26 00:41:53 +00:00
|
|
|
homepage = "https://mathr.co.uk/blog/torrent.html";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.all;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "buildtorrent";
|
2018-06-28 18:43:35 +00:00
|
|
|
};
|
2018-05-24 04:37:33 +00:00
|
|
|
}
|