Merge pull request #172276 from AndersonTorres/MISC

Misc

authored by Anderson Torres and committed by GitHub ec4e18bf 84f1dcef

+59 -35
+13 -11
pkgs/applications/emulators/dgen-sdl/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , fetchurl 3 4 , libarchive 4 5 , SDL 5 6 }: 6 7 7 - let 8 + stdenv.mkDerivation rec { 8 9 pname = "dgen-sdl"; 9 10 version = "1.33"; 10 - in stdenv.mkDerivation { 11 - inherit pname version; 12 11 13 12 src = fetchurl { 14 13 url = "https://sourceforge.net/projects/dgen/files/dgen/${version}/${pname}-${version}.tar.gz"; 15 14 hash = "sha256-meLAYBfCKHPHf4gYbrzAmGckTrbgQsdjuwlLArje9h4="; 16 15 }; 17 16 18 - buildInputs = [ SDL libarchive ]; 17 + buildInputs = [ 18 + SDL 19 + libarchive 20 + ]; 19 21 20 22 configureFlags = [ 21 - "--enable-joystick" 23 + "--enable-debug-vdp" 22 24 "--enable-debugger" 23 - "--enable-debug-vdp" 25 + "--enable-joystick" 24 26 "--enable-pico" # experimental 25 27 "--enable-vgmdump" 26 - "--with-star=no" # Needs ASM support 27 - "--with-musa" 28 28 "--with-cyclone=no" # Needs ASM support 29 - "--with-mz80" 30 29 "--with-cz80" 31 30 "--with-drz80=no" # Needs ASM support 32 31 "--with-dz80" 32 + "--with-musa" 33 + "--with-mz80" 34 + "--with-star=no" # Needs ASM support 33 35 ]; 34 36 35 37 meta = with lib; { 36 - homepage = "https://dgen.sourceforge.net/"; 38 + homepage = "http://dgen.sourceforge.net/"; 37 39 description = "Sega Genesis/Mega Drive emulator"; 38 40 longDescription = '' 39 41 DGen/SDL is a free, open source emulator for Sega Genesis/Mega Drive
+13 -7
pkgs/applications/office/teapot/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , fetchzip 3 + , fetchFromGitHub 4 4 , cmake 5 5 , libtirpc 6 6 , ncurses ··· 10 10 pname = "teapot"; 11 11 version = "2.3.0"; 12 12 13 - src = fetchzip { 13 + src = fetchFromGitHub { 14 14 name = "${pname}-${version}"; 15 - url = "https://www.syntax-k.de/projekte/teapot/${pname}-${version}.tar.gz"; 16 - sha256 = "sha256-wzAwZwOMeTsuR5LhfjspGdejT6X1V8YJ8B7v9pcbxaY="; 15 + owner = "museoa"; 16 + repo = pname; 17 + rev = version; 18 + hash = "sha256-38XFjRzOGasr030f+mRYT+ptlabpnVJfa+1s7ZAjS+k="; 17 19 }; 18 20 21 + prePatch = '' 22 + cd src 23 + ''; 24 + 19 25 patches = [ 20 26 # include a local file in order to make cc happy 21 27 ./001-fix-warning.patch ··· 41 47 ]; 42 48 43 49 meta = with lib; { 44 - homepage = "https://www.syntax-k.de/projekte/teapot/"; 45 - description = "Table Editor And Planner, Or: Teapot!"; 50 + inherit (src.meta) homepage; 51 + description = "Table Editor And Planner, Or: Teapot"; 46 52 longDescription = '' 47 53 Teapot is a compact spreadsheet software originally written by Michael 48 54 Haardt. It features a (n)curses-based text terminal interface, and ··· 70 76 }; 71 77 } 72 78 # TODO: patch/fix FLTK building 73 - # TODO: add documentation from 79 + # TODO: add documentation
+5 -2
pkgs/applications/terminal-emulators/eterm/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "eterm"; 16 - version = "0.9.6-unstable=2020-03-03"; 16 + version = "0.9.6+date=2020-03-03"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "mej"; ··· 43 43 maintainers = [ maintainers.AndersonTorres ]; 44 44 platforms = platforms.linux; 45 45 knownVulnerabilities = [ 46 - "Usage of ANSI escape sequences causes unexpected newline-termination, leading to unexpected command execution (https://www.openwall.com/lists/oss-security/2021/05/17/1)" 46 + ''Usage of ANSI escape sequences causes unexpected newline-termination, 47 + leading to unexpected command execution. More info at: 48 + - https://www.cve.org/CVERecord?id=CVE-2021-33477 49 + - https://www.openwall.com/lists/oss-security/2021/05/17/1'' 47 50 ]; 48 51 }; 49 52 }
+11 -7
pkgs/development/interpreters/yex-lang/default.nix
··· 1 - { lib, stdenv, rustPlatform, fetchFromGitHub }: 1 + { lib 2 + , stdenv 3 + , rustPlatform 4 + , fetchFromGitHub 5 + }: 2 6 3 7 rustPlatform.buildRustPackage rec { 4 8 pname = "yex-lang"; 5 - version = "unstable-2021-12-25"; 9 + version = "0.pre+date=2022-05-10"; 6 10 7 11 src = fetchFromGitHub { 8 12 owner = "nonamescm"; 9 13 repo = "yex-lang"; 10 - rev = "a97def1431b73b8693700f530ec023f1776eaf83"; 11 - hash = "sha256-CEzJtlEVMvMnRyUKdko1UDTluv8Fc88tfOpKGIFMnRw="; 14 + rev = "866c4decbb9340f5af687b145e2c4f47fcbee786"; 15 + hash = "sha256-sxzkZ2Rhn3HvZIfjnJ6Z2au/l/jV5705ecs/X3Iah6k="; 12 16 }; 13 17 14 - cargoSha256 = "sha256-mHMenqcdt9Yjm/6H1Ywf637Sv8ddq6a4Eu2/A/jX9gQ="; 18 + cargoSha256 = "sha256-nX5FoPAk50wt0CXskyg7jQeHvD5YtBNnCe0CVOGXTMI="; 15 19 16 20 meta = with lib; { 17 - homepage = "https://github.com/nonamesc/yex-lang"; 18 - description = "A cool functional scripting language written in rust"; 21 + homepage = "https://github.com/nonamescm/yex-lang"; 22 + description = "A functional scripting language written in rust"; 19 23 license = licenses.mit; 20 24 maintainers = with maintainers; [ AndersonTorres ]; 21 25 mainProgram = "yex";
+17 -8
pkgs/development/libraries/libast/default.nix
··· 1 - { lib, stdenv, fetchurl 2 - , pkg-config }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , pkg-config 6 + }: 3 7 4 8 stdenv.mkDerivation rec { 5 9 pname = "libast"; 6 - version = "0.7.1"; 10 + version = "0.8"; 7 11 8 - src = fetchurl { 9 - url = "http://www.eterm.org/download/${pname}-${version}.tar.gz"; 10 - sha256 = "1w7bs46r4lykfd83kc3bg9i1rxzzlb4ydk23ikf8mx8avz05q1aj"; 12 + src = fetchFromGitHub { 13 + owner = "mej"; 14 + repo = pname; 15 + rev = version; 16 + hash = "sha256-rnqToFi+d6D6O+JDHQxkVjTc/0RBag6Jqv4uDcE4PNc="; 11 17 }; 12 18 13 - nativeBuildInputs = [ pkg-config ]; 19 + nativeBuildInputs = [ 20 + autoreconfHook 21 + pkg-config 22 + ]; 14 23 15 24 meta = with lib; { 25 + inherit (src.meta) homepage; 16 26 description = "Library of Assorted Spiffy Things"; 17 - homepage = "https://www.eterm.org"; 18 27 license = licenses.bsd2; 19 28 maintainers = [ maintainers.AndersonTorres ]; 20 29 platforms = platforms.unix;