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

19 lines
471 B
Nix
Raw Normal View History

2017-04-20 03:42:49 +02:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2019-08-13 23:52:01 +02:00
pname = "buildtorrent";
2020-10-26 01:41:53 +01:00
version = "0.8";
2017-04-20 03:42:49 +02:00
src = fetchurl {
2019-08-13 23:52:01 +02:00
url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
2020-10-26 01:41:53 +01:00
sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
};
2017-04-20 03:42:49 +02:00
2020-10-26 01:41:53 +01:00
meta = with stdenv.lib; {
description = "A simple commandline torrent creator";
2020-10-26 01:41:53 +01:00
homepage = "https://mathr.co.uk/blog/torrent.html";
license = licenses.gpl3Plus;
platforms = platforms.all;
};
}