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