diff options
author | Al Zohali <zohl@fmap.me> | 2016-04-09 13:20:40 +0300 |
---|---|---|
committer | Al Zohali <zohl@fmap.me> | 2016-04-09 19:31:56 +0300 |
commit | 85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2 (patch) | |
tree | 3bacdef87016d709ba3db5e4b93dc97f5217c262 /pkgs | |
parent | dddafe61ebcb3ab347a6e34c2b00449081d5be24 (diff) | |
download | nixlib-85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2.tar nixlib-85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2.tar.gz nixlib-85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2.tar.bz2 nixlib-85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2.tar.lz nixlib-85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2.tar.xz nixlib-85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2.tar.zst nixlib-85129e6c60a2b868e2daea5a2d89dee6e1ac4cd2.zip |
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 ba80b99b9dfe..d5e007caef36 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 { |