Merge pull request #173063 from AndersonTorres/MISC

Misc fixes
This commit is contained in:
Anderson Torres 2022-05-14 19:46:43 -03:00 committed by GitHub
commit 82c1de0115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 71 additions and 25 deletions

View File

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

View File

@ -1,4 +1,7 @@
{ lib, stdenv, fetchurl, pkg-config
{ lib
, stdenv
, fetchurl
, pkg-config
, buildsystem
}:
@ -9,10 +12,11 @@ stdenv.mkDerivation rec {
src = fetchurl {
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 ];
buildInputs = [ buildsystem ];
makeFlags = [
@ -21,7 +25,7 @@ stdenv.mkDerivation rec {
];
meta = with lib; {
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
homepage = "https://www.netsurf-browser.org/";
description = "UTF8 Processing library for netsurf browser";
license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];

View File

@ -1,27 +1,54 @@
{ lib, stdenv, fetchurl, pkg-config
, freetype, fribidi
, libSM, libICE, libXt, libXaw, libXmu
, libXext, libXft, libXpm, libXrandr
, libXrender, xorgproto, libXinerama }:
{ lib
, stdenv
, fetchurl
, freetype
, fribidi
, libICE
, libSM
, libXaw
, libXext
, libXft
, libXinerama
, libXmu
, libXpm
, libXrandr
, libXrender
, libXt
, pkg-config
, xorgproto
}:
with lib;
stdenv.mkDerivation rec {
pname = "oroborus";
version = "2.0.20";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ freetype fribidi libSM libICE libXt libXaw libXmu libXext
libXft libXpm libXrandr libXrender xorgproto libXinerama ];
src = fetchurl {
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";
homepage = "https://www.oroborus.org/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;

View File

@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
cmake
pkg-config
];
buildInputs = [
libGL
libpng
@ -30,7 +31,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
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;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
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"
];
hash = "sha256-d64WZaM38cSMYda5Yds+UhGbOOWIhNHIloSvMfh7xQY=";
@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "http://www.mirbsd.org/mksh.htm";
description = "MirBSD Korn Shell";
longDescription = ''
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
systems.
'';
homepage = "https://www.mirbsd.org/mksh.htm";
license = with licenses; [ miros isc unicode-dfs-2016 ];
maintainers = with maintainers; [ AndersonTorres joachifm ];
platforms = platforms.unix;

View File

@ -1,4 +1,9 @@
{ lib, stdenv, fetchurl, libbsd }:
{ lib
, stdenv
, fetchurl
, installShellFiles
, libbsd
}:
stdenv.mkDerivation rec {
pname = "rs";
@ -9,18 +14,29 @@ stdenv.mkDerivation rec {
sha256 = "0gxwlfk7bzivpp2260w2r6gkyl7vdi05cggn1fijfnp8kzf1b4li";
};
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ libbsd ];
buildPhase = ''
runHook preBuild
${stdenv.cc}/bin/cc utf8.c rs.c -o rs -lbsd
runHook postBuild
'';
installPhase = ''
runHook preInstall
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; {
homepage = "http://www.mirbsd.org/htman/i386/man1/rs.htm";
description = "Reshape a data array from standard input";
longDescription = ''
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
the rows and columns.
'';
homepage = "https://www.mirbsd.org/htman/i386/man1/rs.htm";
license = licenses.bsd3;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;