nixpkgs/pkgs/tools/misc/buildtorrent/default.nix
Matthew Bauer 02297beade treewide: add version to packages
Lots of packages are missing versions in their name. This adds them
where appropriate. These were found with this command:

 $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$'

See issue #41007.
2018-05-25 15:48:05 -05:00

20 lines
472 B
Nix

{ stdenv, fetchurl }:
let version = "0.8"; in
stdenv.mkDerivation rec {
name = "buildtorrent-${version}";
src = fetchurl {
url = "http://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;
};
}