tests.fetchtorrent: add watched-cd license

This marks the tests unfree, shuold be fixed in a follow up.

+24 -2
+24 -2
pkgs/build-support/fetchtorrent/tests.nix
··· 1 - { testers, fetchtorrent, ... }: 2 3 { 4 http-link = testers.invalidateFetcherByDrvHash fetchtorrent { 5 url = "https://webtorrent.io/torrents/wired-cd.torrent"; 6 hash = "sha256-OCsC22WuanqoN6lPv5wDT5ZxPcEHDpZ1EgXGvz1SDYo="; 7 backend = "transmission"; 8 }; 9 magnet-link = testers.invalidateFetcherByDrvHash fetchtorrent { 10 url = "magnet:?xt=urn:btih:a88fda5954e89178c372716a6a78b8180ed4dad3&dn=The+WIRED+CD+-+Rip.+Sample.+Mash.+Share&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fwired-cd.torrent"; 11 hash = "sha256-OCsC22WuanqoN6lPv5wDT5ZxPcEHDpZ1EgXGvz1SDYo="; 12 backend = "transmission"; 13 }; 14 http-link-rqbit = testers.invalidateFetcherByDrvHash fetchtorrent { 15 url = "https://webtorrent.io/torrents/wired-cd.torrent"; 16 hash = "sha256-OCsC22WuanqoN6lPv5wDT5ZxPcEHDpZ1EgXGvz1SDYo="; 17 backend = "rqbit"; 18 }; 19 magnet-link-rqbit = testers.invalidateFetcherByDrvHash fetchtorrent { 20 url = "magnet:?xt=urn:btih:a88fda5954e89178c372716a6a78b8180ed4dad3&dn=The+WIRED+CD+-+Rip.+Sample.+Mash.+Share&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fwired-cd.torrent"; 21 hash = "sha256-OCsC22WuanqoN6lPv5wDT5ZxPcEHDpZ1EgXGvz1SDYo="; 22 backend = "rqbit"; 23 }; 24 } 25 -
··· 1 + { testers, fetchtorrent, lib, ... }: 2 + 3 + let 4 + wired-cd.meta.license = [ 5 + # track 1, 4 and 11 6 + { 7 + spdxID = "CC NC-SAMPLING+ 1.0 Deed"; 8 + fullName = "NonCommercial Sampling Plus 1.0 Generic"; 9 + url = "https://creativecommons.org/licenses/nc-sampling+/1.0/"; 10 + free = false; # for noncommercial purposes only 11 + } 12 + # the rest 13 + { 14 + spdxID = "CC SAMPLING+ 1.0 Deed"; 15 + fullName = "Sampling Plus 1.0 Generic"; 16 + url = "https://creativecommons.org/licenses/sampling+/1.0/"; 17 + free = true; # no use in advertisement 18 + } 19 + ]; 20 + in 21 22 { 23 http-link = testers.invalidateFetcherByDrvHash fetchtorrent { 24 url = "https://webtorrent.io/torrents/wired-cd.torrent"; 25 hash = "sha256-OCsC22WuanqoN6lPv5wDT5ZxPcEHDpZ1EgXGvz1SDYo="; 26 backend = "transmission"; 27 + inherit (wired-cd) meta; 28 }; 29 magnet-link = testers.invalidateFetcherByDrvHash fetchtorrent { 30 url = "magnet:?xt=urn:btih:a88fda5954e89178c372716a6a78b8180ed4dad3&dn=The+WIRED+CD+-+Rip.+Sample.+Mash.+Share&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fwired-cd.torrent"; 31 hash = "sha256-OCsC22WuanqoN6lPv5wDT5ZxPcEHDpZ1EgXGvz1SDYo="; 32 backend = "transmission"; 33 + inherit (wired-cd) meta; 34 }; 35 http-link-rqbit = testers.invalidateFetcherByDrvHash fetchtorrent { 36 url = "https://webtorrent.io/torrents/wired-cd.torrent"; 37 hash = "sha256-OCsC22WuanqoN6lPv5wDT5ZxPcEHDpZ1EgXGvz1SDYo="; 38 backend = "rqbit"; 39 + inherit (wired-cd) meta; 40 }; 41 magnet-link-rqbit = testers.invalidateFetcherByDrvHash fetchtorrent { 42 url = "magnet:?xt=urn:btih:a88fda5954e89178c372716a6a78b8180ed4dad3&dn=The+WIRED+CD+-+Rip.+Sample.+Mash.+Share&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fwired-cd.torrent"; 43 hash = "sha256-OCsC22WuanqoN6lPv5wDT5ZxPcEHDpZ1EgXGvz1SDYo="; 44 backend = "rqbit"; 45 + inherit (wired-cd) meta; 46 }; 47 }