Merge pull request #244279 from emilytrau/stegsolve-license

authored by

Artturi and committed by
GitHub
2c9e9de1 4a7f8469

+20 -8
+20 -8
pkgs/tools/graphics/stegsolve/default.nix
··· 1 - { lib, stdenv, fetchurl, jre, makeWrapper, copyDesktopItems, makeDesktopItem }: 1 + { lib 2 + , stdenvNoCC 3 + , fetchurl 4 + , jre 5 + , makeWrapper 6 + , copyDesktopItems 7 + , makeDesktopItem 8 + }: 2 9 3 - stdenv.mkDerivation rec { 10 + stdenvNoCC.mkDerivation (finalAttrs: { 4 11 pname = "stegsolve"; 5 12 version = "1.3"; 6 13 7 14 src = fetchurl { 8 15 # No versioned binary is published :( 9 - url = "http://www.caesum.com/handbook/Stegsolve.jar"; 16 + url = "https://web.archive.org/web/20230319054116if_/http://www.caesum.com/handbook/Stegsolve.jar"; 10 17 sha256 = "0np5zb28sg6yzkp1vic80pm8iiaamvjpbf5dxmi9kwvqcrh4jyq0"; 11 18 }; 12 19 ··· 15 22 desktopItems = [ 16 23 (makeDesktopItem { 17 24 type = "Application"; 18 - name = pname; 25 + name = finalAttrs.pname; 19 26 desktopName = "Stegsolve"; 20 27 comment = "A steganographic image analyzer, solver and data extractor for challanges"; 21 - exec = pname; 28 + exec = finalAttrs.pname; 22 29 categories = [ "Graphics" ]; 23 30 }) 24 31 ]; ··· 38 45 39 46 meta = with lib; { 40 47 description = "A steganographic image analyzer, solver and data extractor for challanges"; 41 - homepage = "http://www.caesum.com/handbook/stego.htm"; 48 + homepage = "https://www.wechall.net/forum/show/thread/527/Stegsolve_1.3/"; 42 49 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 43 - license = licenses.unfree; 50 + license = { 51 + fullName = "Cronos License"; 52 + url = "http://www.caesum.com/legal.php"; 53 + free = false; 54 + redistributable = true; 55 + }; 44 56 maintainers = with maintainers; [ emilytrau ]; 45 57 platforms = platforms.all; 46 58 }; 47 - } 59 + })