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

19 lines
469 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2017-04-20 02:42:49 +01:00
stdenv.mkDerivation rec {
2019-08-13 22:52:01 +01:00
pname = "buildtorrent";
2020-10-26 00:41:53 +00:00
version = "0.8";
2017-04-20 02:42:49 +01:00
src = fetchurl {
2019-08-13 22:52:01 +01:00
url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
2020-10-26 00:41:53 +00:00
sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
};
2017-04-20 02:42:49 +01:00
meta = with lib; {
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;
};
}