diff options
author | joachifm <joachifm@users.noreply.github.com> | 2016-04-09 18:49:22 +0200 |
---|---|---|
committer | joachifm <joachifm@users.noreply.github.com> | 2016-04-09 18:49:22 +0200 |
commit | 34732f0369da042a567d9b922ee2f1d042d810b3 (patch) | |
tree | 5e8d6d265bfa3fa1454d2b4785241810ae3fdc82 /pkgs | |
parent | ff52ac75f6c989b522df77a6c3c81a24b159d9ff (diff) | |
parent | 85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2 (diff) | |
download | nixlib-34732f0369da042a567d9b922ee2f1d042d810b3.tar nixlib-34732f0369da042a567d9b922ee2f1d042d810b3.tar.gz nixlib-34732f0369da042a567d9b922ee2f1d042d810b3.tar.bz2 nixlib-34732f0369da042a567d9b922ee2f1d042d810b3.tar.lz nixlib-34732f0369da042a567d9b922ee2f1d042d810b3.tar.xz nixlib-34732f0369da042a567d9b922ee2f1d042d810b3.tar.zst nixlib-34732f0369da042a567d9b922ee2f1d042d810b3.zip |
Merge pull request #14552 from zohl/dumptorrent
dumptorrent: init at 1.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/misc/dumptorrent/default.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/dumptorrent/default.nix b/pkgs/tools/misc/dumptorrent/default.nix new file mode 100644 index 000000000000..60a2ed29bbf8 --- /dev/null +++ b/pkgs/tools/misc/dumptorrent/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "dumptorrent-${version}"; + version = "1.2"; + + src = fetchurl { + url = "mirror://sourceforge/dumptorrent/dumptorrent-${version}.tar.gz"; + sha256 = "073h03bmpfdy15qh37lvppayld2747i4acpyk0pm5nf2raiak0zm"; + }; + + installPhase = '' + mkdir -p $out/bin + cp ./dumptorrent $out/bin + ''; + + meta = with stdenv.lib; { + description = "Dump .torrent file information"; + homepage = https://sourceforge.net/projects/dumptorrent/; + license = licenses.gpl2; + maintainers = [ maintainers.zohl ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 80dbade01571..e44a3559f0ad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1314,6 +1314,8 @@ in duff = callPackage ../tools/filesystems/duff { }; + dumptorrent = callPackage ../tools/misc/dumptorrent { }; + duo-unix = callPackage ../tools/security/duo-unix { }; duplicity = callPackage ../tools/backup/duplicity { |