mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
20 lines
503 B
Nix
20 lines
503 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "buildtorrent";
|
|
version = "0.8";
|
|
|
|
src = fetchurl {
|
|
url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A simple commandline torrent creator";
|
|
homepage = "https://mathr.co.uk/blog/torrent.html";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
mainProgram = "buildtorrent";
|
|
};
|
|
}
|