mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-01 12:20:10 +00:00
Merge release-21.11 into staging-next-21.11
This commit is contained in:
@@ -17,10 +17,10 @@ in
|
||||
mkFranzDerivation' rec {
|
||||
pname = "ferdi";
|
||||
name = "Ferdi";
|
||||
version = "5.6.4";
|
||||
version = "5.6.5";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/getferdi/ferdi/releases/download/v${version}/ferdi_${version}_amd64.deb";
|
||||
sha256 = "sha256-y3kuhSWoGysGkvDTV+bze6LSXVO4uDfDOos64eSYFf0=";
|
||||
sha256 = "sha256-JeFPvU4xXHcv6/ApCDkejYWfA8lqsxwoFXnqIiOQ0+Y=";
|
||||
};
|
||||
extraBuildInputs = [ xorg.libxshmfence ];
|
||||
meta = with lib; {
|
||||
|
||||
@@ -16,12 +16,12 @@ with lib;
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "gitea";
|
||||
version = "1.15.7";
|
||||
version = "1.15.9";
|
||||
|
||||
# not fetching directly from the git repo, because that lacks several vendor files for the web UI
|
||||
src = fetchurl {
|
||||
url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
|
||||
sha256 = "sha256-Ckg8XKCPnyp4a0kXJrqju2jAJvD4tzjomaeJxlFwYzg=";
|
||||
sha256 = "sha256-DzPgAy7Curypc/66c1NqYSHFgtovpY5qEq/Le+0VYk4=";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "roundcube";
|
||||
version = "1.5.1";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz";
|
||||
sha256 = "sha256-YRsNgCJ9C3AonHFXh7LYX9Fe2RXrVtWFwQTCQ3YDboM=";
|
||||
sha256 = "sha256-8DloOBFW/nkNhYr34GnFVQqFd/uWT5ZiRDSJUnIFODg=";
|
||||
};
|
||||
|
||||
patches = [ ./0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch ];
|
||||
|
||||
@@ -1,32 +1,23 @@
|
||||
{ lib, stdenv
|
||||
, go
|
||||
, fetchurl
|
||||
, redo-apenwarr
|
||||
, curl
|
||||
, perl
|
||||
, genericUpdater
|
||||
, writeShellScript
|
||||
}:
|
||||
{ lib, stdenv, go, fetchurl, redo-apenwarr, curl, perl, genericUpdater
|
||||
, writeShellScript, nixosTests, cfgPath ? "/etc/nncp.hjson" }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nncp";
|
||||
version = "7.7.0";
|
||||
version = "8.0.2";
|
||||
outputs = [ "out" "doc" "info" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.nncpgo.org/download/${pname}-${version}.tar.xz";
|
||||
sha256 = "ppKi/JY8sKRb/Vt/SXom0L1zhjBPn6PNUm3Gn8o5Ke4=";
|
||||
sha256 = "sha256-hMb7bAdk3xFcUe5CTu9LnIR3VSJDUKbMSE86s8d5udM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ go redo-apenwarr ];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
export GOCACHE=$PWD/.cache
|
||||
export CFGPATH=/etc/nncp.hjson
|
||||
export SENDMAIL=sendmail # default value for generated config file
|
||||
redo ''${enableParallelBuilding:+-j''${NIX_BUILD_CORES}}
|
||||
runHook postBuild
|
||||
'';
|
||||
# Build parameters
|
||||
CFGPATH = cfgPath;
|
||||
SENDMAIL = "sendmail";
|
||||
|
||||
preConfigure = "export GOCACHE=$NIX_BUILD_TOP/gocache";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
@@ -42,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
inherit pname version;
|
||||
versionLister = writeShellScript "nncp-versionLister" ''
|
||||
echo "# Versions for $1:" >> "$2"
|
||||
${curl}/bin/curl -s http://www.nncpgo.org/Tarballs.html | ${perl}/bin/perl -lne 'print $1 if /Release.*>([0-9.]+)</'
|
||||
${curl}/bin/curl -s ${meta.downloadPage} | ${perl}/bin/perl -lne 'print $1 if /Release.*>([0-9.]+)</'
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -64,8 +55,9 @@ stdenv.mkDerivation rec {
|
||||
transmission exists.
|
||||
'';
|
||||
homepage = "http://www.nncpgo.org/";
|
||||
downloadPage = "http://www.nncpgo.org/Tarballs.html";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.woffs ];
|
||||
maintainers = with maintainers; [ ehmry woffs ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27038,9 +27038,7 @@ with pkgs;
|
||||
|
||||
ninjas2 = callPackage ../applications/audio/ninjas2 {};
|
||||
|
||||
nncp = callPackage ../tools/misc/nncp {
|
||||
go = go_1_15;
|
||||
};
|
||||
nncp = callPackage ../tools/misc/nncp { };
|
||||
|
||||
notion = callPackage ../applications/window-managers/notion { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user