mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
20 lines
490 B
Nix
20 lines
490 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
let version = "0.8"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "buildtorrent-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://mathr.co.uk/blog/code/${name}.tar.gz";
|
|
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;
|
|
};
|
|
}
|