Merge pull request #173063 from AndersonTorres/MISC

Misc fixes
main
Anderson Torres 2 years ago committed by GitHub
commit 82c1de0115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/applications/networking/browsers/netsurf/libnsutils.nix
  2. 10
      pkgs/applications/networking/browsers/netsurf/libutf8proc.nix
  3. 55
      pkgs/applications/window-managers/oroborus/default.nix
  4. 3
      pkgs/development/libraries/glpng/default.nix
  5. 4
      pkgs/shells/mksh/default.nix
  6. 22
      pkgs/tools/text/rs/default.nix

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://www.netsurf-browser.org/projects/${libname}/"; homepage = "https://www.netsurf-browser.org/";
description = "Generalised utility library for netsurf browser"; description = "Generalised utility library for netsurf browser";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];

@ -1,4 +1,7 @@
{ lib, stdenv, fetchurl, pkg-config { lib
, stdenv
, fetchurl
, pkg-config
, buildsystem , buildsystem
}: }:
@ -9,10 +12,11 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
sha256 = "sha256-AasdaYnBx3VQkNskw/ZOSflcVgrknCa+xRQrrGgCxHI="; hash = "sha256-AasdaYnBx3VQkNskw/ZOSflcVgrknCa+xRQrrGgCxHI=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildsystem ]; buildInputs = [ buildsystem ];
makeFlags = [ makeFlags = [
@ -21,7 +25,7 @@ stdenv.mkDerivation rec {
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://www.netsurf-browser.org/projects/${libname}/"; homepage = "https://www.netsurf-browser.org/";
description = "UTF8 Processing library for netsurf browser"; description = "UTF8 Processing library for netsurf browser";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];

@ -1,27 +1,54 @@
{ lib, stdenv, fetchurl, pkg-config { lib
, freetype, fribidi , stdenv
, libSM, libICE, libXt, libXaw, libXmu , fetchurl
, libXext, libXft, libXpm, libXrandr , freetype
, libXrender, xorgproto, libXinerama }: , fribidi
, libICE
, libSM
, libXaw
, libXext
, libXft
, libXinerama
, libXmu
, libXpm
, libXrandr
, libXrender
, libXt
, pkg-config
, xorgproto
}:
with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "oroborus"; pname = "oroborus";
version = "2.0.20"; version = "2.0.20";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ freetype fribidi libSM libICE libXt libXaw libXmu libXext
libXft libXpm libXrandr libXrender xorgproto libXinerama ];
src = fetchurl { src = fetchurl {
url = "mirror://debian/pool/main/o/oroborus/oroborus_${version}.tar.gz"; url = "mirror://debian/pool/main/o/oroborus/oroborus_${version}.tar.gz";
sha256 = "12bvk8x8rfnymbfbwmdcrd9g8m1zxbcq7rgvfdkjr0gnpi0aa82j"; hash = "sha256-UiClQLz2gSxnc/vlg9nqP1T0UsusVb7cqt66jDqae4k=a";
}; };
meta = { nativeBuildInputs = [ pkg-config ];
buildInputs = [
freetype
fribidi
libICE
libSM
libXaw
libXext
libXft
libXinerama
libXmu
libXpm
libXrandr
libXrender
libXt
xorgproto
];
meta = with lib; {
homepage = "https://web.archive.org/web/20191129172107/https://www.oroborus.org/";
description = "A really minimalistic X window manager"; description = "A really minimalistic X window manager";
homepage = "https://www.oroborus.org/";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux; platforms = platforms.linux;

@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
cmake cmake
pkg-config pkg-config
]; ];
buildInputs = [ buildInputs = [
libGL libGL
libpng libpng
@ -30,7 +31,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
homepage = "https://repo.or.cz/glpng.git/blob_plain/HEAD:/glpng.htm"; homepage = "https://repo.or.cz/glpng.git/blob_plain/HEAD:/glpng.htm";
description = "PNG loader for OpenGL"; description = "PNG loader library for OpenGL";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix; platforms = platforms.unix;

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
urls = [ urls = [
"https://www.mirbsd.org/MirOS/dist/mir/mksh/${pname}-R${version}.tgz" "http://www.mirbsd.org/MirOS/dist/mir/mksh/${pname}-R${version}.tgz"
"http://pub.allbsd.org/MirOS/dist/mir/mksh/${pname}-R${version}.tgz" "http://pub.allbsd.org/MirOS/dist/mir/mksh/${pname}-R${version}.tgz"
]; ];
hash = "sha256-d64WZaM38cSMYda5Yds+UhGbOOWIhNHIloSvMfh7xQY="; hash = "sha256-d64WZaM38cSMYda5Yds+UhGbOOWIhNHIloSvMfh7xQY=";
@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = "http://www.mirbsd.org/mksh.htm";
description = "MirBSD Korn Shell"; description = "MirBSD Korn Shell";
longDescription = '' longDescription = ''
The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI
@ -45,7 +46,6 @@ stdenv.mkDerivation rec {
also to be readily available under other UNIX(R)-like operating also to be readily available under other UNIX(R)-like operating
systems. systems.
''; '';
homepage = "https://www.mirbsd.org/mksh.htm";
license = with licenses; [ miros isc unicode-dfs-2016 ]; license = with licenses; [ miros isc unicode-dfs-2016 ];
maintainers = with maintainers; [ AndersonTorres joachifm ]; maintainers = with maintainers; [ AndersonTorres joachifm ];
platforms = platforms.unix; platforms = platforms.unix;

@ -1,4 +1,9 @@
{ lib, stdenv, fetchurl, libbsd }: { lib
, stdenv
, fetchurl
, installShellFiles
, libbsd
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rs"; pname = "rs";
@ -9,18 +14,29 @@ stdenv.mkDerivation rec {
sha256 = "0gxwlfk7bzivpp2260w2r6gkyl7vdi05cggn1fijfnp8kzf1b4li"; sha256 = "0gxwlfk7bzivpp2260w2r6gkyl7vdi05cggn1fijfnp8kzf1b4li";
}; };
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ libbsd ]; buildInputs = [ libbsd ];
buildPhase = '' buildPhase = ''
runHook preBuild
${stdenv.cc}/bin/cc utf8.c rs.c -o rs -lbsd ${stdenv.cc}/bin/cc utf8.c rs.c -o rs -lbsd
runHook postBuild
''; '';
installPhase = '' installPhase = ''
runHook preInstall
install -Dm 755 rs -t $out/bin install -Dm 755 rs -t $out/bin
install -Dm 644 rs.1 -t $out/share/man/man1 installManPage rs.1
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
homepage = "http://www.mirbsd.org/htman/i386/man1/rs.htm";
description = "Reshape a data array from standard input"; description = "Reshape a data array from standard input";
longDescription = '' longDescription = ''
rs reads the standard input, interpreting each line as a row of blank- rs reads the standard input, interpreting each line as a row of blank-
@ -43,8 +59,6 @@ stdenv.mkDerivation rec {
to control presentation of the output columns, including transposition of to control presentation of the output columns, including transposition of
the rows and columns. the rows and columns.
''; '';
homepage = "https://www.mirbsd.org/htman/i386/man1/rs.htm";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix; platforms = platforms.unix;

Loading…
Cancel
Save