Merge pull request #133332 from SuperSandro2000/cleanup
This commit is contained in:
commit
1eea388646
12 changed files with 552 additions and 541 deletions
|
@ -13,6 +13,7 @@
|
|||
, tor
|
||||
, psmisc
|
||||
}:
|
||||
|
||||
let
|
||||
bisq-launcher = writeScript "bisq-launcher" ''
|
||||
#! ${bash}/bin/bash
|
||||
|
@ -46,15 +47,16 @@ let
|
|||
'';
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.7.0";
|
||||
pname = "bisq-desktop";
|
||||
nativeBuildInputs = [ makeWrapper copyDesktopItems dpkg ];
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/bisq-network/bisq/releases/download/v${version}/Bisq-64bit-${version}.deb";
|
||||
sha256 = "0crry5k7crmrqn14wxiyrnhk09ac8a9ksqrwwky7jsnyah0bx5k4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper copyDesktopItems dpkg ];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "Bisq";
|
||||
|
@ -71,6 +73,8 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib $out/bin
|
||||
cp opt/bisq/lib/app/desktop-${version}-all.jar $out/lib
|
||||
|
||||
|
@ -80,13 +84,13 @@ stdenv.mkDerivation rec {
|
|||
makeWrapper ${bisq-launcher} $out/bin/bisq-desktop \
|
||||
--prefix PATH : $out/bin
|
||||
|
||||
copyDesktopItems
|
||||
|
||||
for n in 16 24 32 48 64 96 128 256; do
|
||||
size=$n"x"$n
|
||||
${imagemagick}/bin/convert opt/bisq/lib/Bisq.png -resize $size bisq.png
|
||||
install -Dm644 -t $out/share/icons/hicolor/$size/apps bisq.png
|
||||
done;
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -7,21 +7,20 @@
|
|||
|
||||
let
|
||||
version = "5.9.1";
|
||||
major = "5.9";
|
||||
|
||||
docFiles = [
|
||||
(fetchurl {
|
||||
url = "https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${major}&type=data&os=Sources&downloadFile=ParaViewTutorial-${version}.pdf";
|
||||
url = "https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${lib.versions.majorMinor version}&type=data&os=Sources&downloadFile=ParaViewTutorial-${version}.pdf";
|
||||
name = "Tutorial.pdf";
|
||||
sha256 = "1knpirjbz3rv8p8n03p39vv8vi5imvxakjsssqgly09g0cnsikkw";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${major}&type=data&os=Sources&downloadFile=ParaViewGettingStarted-${version}.pdf";
|
||||
url = "https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${lib.versions.majorMinor version}&type=data&os=Sources&downloadFile=ParaViewGettingStarted-${version}.pdf";
|
||||
name = "GettingStarted.pdf";
|
||||
sha256 = "14xhlvg7s7d5amqf4qfyamx2a6b66zf4cmlfm3s7iw3jq01x1lx6";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${major}&type=data&os=Sources&downloadFile=ParaViewCatalystGuide-${version}.pdf";
|
||||
url = "https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${lib.versions.majorMinor version}&type=data&os=Sources&downloadFile=ParaViewCatalystGuide-${version}.pdf";
|
||||
name = "CatalystGuide.pdf";
|
||||
sha256 = "133vcfrbg2nh15igl51ns6gnfn1is20vq6j0rg37wha697pmcr4a";
|
||||
})
|
||||
|
@ -79,7 +78,8 @@ in mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
libGLU libGL
|
||||
libGLU
|
||||
libGL
|
||||
libXt
|
||||
mpi
|
||||
tbb
|
||||
|
@ -93,7 +93,7 @@ in mkDerivation rec {
|
|||
qtsvg
|
||||
];
|
||||
|
||||
postInstall = let docDir = "$out/share/paraview-${major}/doc"; in
|
||||
postInstall = let docDir = "$out/share/paraview-${lib.versions.majorMinor version}/doc"; in
|
||||
lib.optionalString withDocs ''
|
||||
mkdir -p ${docDir};
|
||||
for docFile in ${lib.concatStringsSep " " docFiles}; do
|
||||
|
@ -112,5 +112,4 @@ in mkDerivation rec {
|
|||
maintainers = with maintainers; [ guibert ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
{ lib, stdenv, fetchurl, openssl }:
|
||||
|
||||
let
|
||||
version = "6.4.21";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fetchmail";
|
||||
inherit version;
|
||||
version = "6.4.21";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/fetchmail/fetchmail-${version}.tar.xz";
|
||||
|
@ -16,7 +13,7 @@ stdenv.mkDerivation {
|
|||
|
||||
configureFlags = [ "--with-ssl=${openssl.dev}" ];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
homepage = "https://www.fetchmail.info/";
|
||||
description = "A full-featured remote-mail retrieval and forwarding utility";
|
||||
longDescription = ''
|
||||
|
@ -27,9 +24,8 @@ stdenv.mkDerivation {
|
|||
all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and
|
||||
IPSEC.
|
||||
'';
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.peti ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.peti ];
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -7,15 +7,13 @@
|
|||
, useBoehmgc ? true, boehmgc
|
||||
}:
|
||||
|
||||
assert useBoehmgc -> boehmgc != null;
|
||||
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="ecl";
|
||||
version="16.1.2";
|
||||
name="${baseName}-${version}";
|
||||
url="https://common-lisp.net/project/ecl/static/files/release/ecl-16.1.2.tgz";
|
||||
url="https://common-lisp.net/project/ecl/static/files/release/ecl-${version}.tgz";
|
||||
sha256="16ab8qs3awvdxy8xs8jy82v8r04x4wr70l9l2j45vgag18d2nj1d";
|
||||
};
|
||||
buildInputs = [
|
||||
|
@ -42,10 +40,7 @@ stdenv.mkDerivation {
|
|||
"--with-gmp-libdir=${lib.getLib gmp}/lib"
|
||||
# -incdir, -libdir doesn't seem to be supported for libffi
|
||||
"--with-libffi-prefix=${lib.getDev libffi}"
|
||||
]
|
||||
++
|
||||
(lib.optional (! noUnicode)
|
||||
"--enable-unicode")
|
||||
] ++ lib.optional (! noUnicode) "--enable-unicode"
|
||||
;
|
||||
|
||||
patches = [
|
||||
|
@ -91,11 +86,11 @@ stdenv.mkDerivation {
|
|||
--prefix NIX_LDFLAGS_BEFORE_${gcc.bintools.suffixSalt} ' ' "-L${lib.getLib libffi}/lib"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
inherit (s) version;
|
||||
description = "Lisp implementation aiming to be small, fast and easy to embed";
|
||||
license = lib.licenses.mit ;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
license = licenses.mit ;
|
||||
maintainers = [ maintainers.raskin ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchFromGitHub, jre, coursier }:
|
||||
{ stdenv, lib, fetchFromGitHub, coursier }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "scala-runners";
|
||||
|
|
|
@ -3,19 +3,10 @@
|
|||
, debug ? false
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "phonon-backend-vlc";
|
||||
version = "0.11.2";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://phonon.kde.org/";
|
||||
description = "GStreamer backend for Phonon";
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ bsd3 lgpl2Plus ];
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-xsM7/GjRN/DlegKeS3mMu5D1Svb3Ma9JZ3hXeRzNU6U=";
|
||||
|
@ -40,4 +31,11 @@ stdenv.mkDerivation rec {
|
|||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://phonon.kde.org/";
|
||||
description = "GStreamer backend for Phonon";
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ bsd3 lgpl2Plus ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, wxGTK
|
||||
, sqlite
|
||||
, darwin
|
||||
, Cocoa
|
||||
, setfile
|
||||
, rez
|
||||
, derez
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -20,13 +24,13 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = [ wxGTK sqlite ]
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa darwin.stubs.setfile darwin.stubs.rez darwin.stubs.derez ];
|
||||
++ lib.optionals stdenv.isDarwin [ Cocoa setfile rez derez ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://utelle.github.io/wxsqlite3/";
|
||||
description = "A C++ wrapper around the public domain SQLite 3.x for wxWidgets";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
license = [ licenses.lgpl3Plus licenses.gpl3Plus ];
|
||||
license = with licenses; [ lgpl3Plus gpl3Plus ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
{stdenv, lib, fetchurl, makeDesktopItem, copyDesktopItems, cmake, pkg-config, zlib, bzip2, libjpeg, SDL, SDL_mixer, gtk2}:
|
||||
{ stdenv, lib, fetchurl, makeDesktopItem, copyDesktopItems, cmake, pkg-config, zlib, bzip2, libjpeg, SDL, SDL_mixer, gtk2 }:
|
||||
|
||||
let
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "ecwolf";
|
||||
exec = "ecwolf";
|
||||
comment = "Enhanced Wolfenstein 3D port";
|
||||
desktopName = "Wolfenstein 3D";
|
||||
categories = "Game;";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ecwolf";
|
||||
version = "1.3.3";
|
||||
|
@ -18,10 +9,18 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1sbdv672dz47la5a5qwmdi1v258k9kc5dkx7cdj2b6gk8nbm2srl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ zlib bzip2 libjpeg SDL SDL_mixer gtk2 copyDesktopItems ];
|
||||
nativeBuildInputs = [ cmake copyDesktopItems pkg-config ];
|
||||
buildInputs = [ zlib bzip2 libjpeg SDL SDL_mixer gtk2 ];
|
||||
|
||||
desktopItems = [ desktopItem ];
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "ecwolf";
|
||||
exec = "ecwolf";
|
||||
comment = "Enhanced Wolfenstein 3D port";
|
||||
desktopName = "Wolfenstein 3D";
|
||||
categories = "Game;";
|
||||
})
|
||||
];
|
||||
|
||||
# Change the location where the ecwolf executable looks for the ecwolf.pk3
|
||||
# file.
|
||||
|
@ -35,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
sed -i -e "s|ecwolf.pk3|$out/share/ecwolf/ecwolf.pk3|" src/version.h
|
||||
''
|
||||
# Disable app bundle creation on Darwin. It fails, and it is not needed to run it from the Nix store
|
||||
+ lib.optionalString (stdenv.isDarwin) ''
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
sed -i -e "s|include(\''${CMAKE_CURRENT_SOURCE_DIR}/macosx/install.txt)||" src/CMakeLists.txt
|
||||
'';
|
||||
|
||||
|
|
|
@ -26,13 +26,9 @@ buildGoModule rec {
|
|||
ldflags = [ "-X tailscale.com/version.Long=${version}" "-X tailscale.com/version.Short=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/tailscaled --prefix PATH : ${
|
||||
lib.makeBinPath [ iproute2 iptables ]
|
||||
}
|
||||
wrapProgram $out/bin/tailscaled --prefix PATH : ${lib.makeBinPath [ iproute2 iptables ]}
|
||||
wrapProgram $out/bin/tailscale --suffix PATH : ${lib.makeBinPath [ procps ]}
|
||||
|
||||
wrapProgram $out/bin/tailscale --suffix PATH : ${
|
||||
lib.makeBinPath [ procps ]
|
||||
}
|
||||
sed -i -e "s#/usr/sbin#$out/bin#" -e "/^EnvironmentFile/d" ./cmd/tailscaled/tailscaled.service
|
||||
install -D -m0444 -t $out/lib/systemd/system ./cmd/tailscaled/tailscaled.service
|
||||
'';
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{ lib, stdenv, fetchFromGitHub, nixosTests, makeWrapper, zfs
|
||||
, perlPackages, procps, which, openssh, mbuffer, pv, lzop, gzip, pigz }:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sanoid";
|
||||
version = "2.1.0";
|
||||
|
@ -33,22 +31,22 @@ stdenv.mkDerivation rec {
|
|||
# incompatibilities with the ZFS kernel module.
|
||||
wrapProgram "$out/bin/sanoid" \
|
||||
--prefix PERL5LIB : "$PERL5LIB" \
|
||||
--prefix PATH : "${makeBinPath [ procps "/run/booted-system/sw" zfs ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ procps "/run/booted-system/sw" zfs ]}"
|
||||
|
||||
install -m755 syncoid "$out/bin/syncoid"
|
||||
wrapProgram "$out/bin/syncoid" \
|
||||
--prefix PERL5LIB : "$PERL5LIB" \
|
||||
--prefix PATH : "${makeBinPath [ openssh procps which pv mbuffer lzop gzip pigz "/run/booted-system/sw" zfs ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ openssh procps which pv mbuffer lzop gzip pigz "/run/booted-system/sw" zfs ]}"
|
||||
|
||||
install -m755 findoid "$out/bin/findoid"
|
||||
wrapProgram "$out/bin/findoid" \
|
||||
--prefix PERL5LIB : "$PERL5LIB" \
|
||||
--prefix PATH : "${makeBinPath [ "/run/booted-system/sw" zfs ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ "/run/booted-system/sw" zfs ]}"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A policy-driven snapshot management tool for ZFS filesystems";
|
||||
homepage = "https://github.com/jimsalterjrs/sanoid";
|
||||
license = licenses.gpl3Plus;
|
||||
|
|
|
@ -12297,7 +12297,6 @@ with pkgs;
|
|||
scala = scala_2_13;
|
||||
scala-runners = callPackage ../development/compilers/scala-runners/default.nix {
|
||||
coursier = coursier.override { jre = jdk8; };
|
||||
jre = jdk8;
|
||||
};
|
||||
|
||||
metal = callPackage ../development/libraries/metal { };
|
||||
|
@ -32315,6 +32314,8 @@ with pkgs;
|
|||
|
||||
wxsqlite3 = callPackage ../development/libraries/wxsqlite3 {
|
||||
wxGTK = wxGTK30;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
inherit (darwin.stubs) setfile rez derez;
|
||||
};
|
||||
|
||||
wxsqliteplus = callPackage ../development/libraries/wxsqliteplus {
|
||||
|
@ -32382,8 +32383,7 @@ with pkgs;
|
|||
xzoom = callPackage ../tools/X11/xzoom {};
|
||||
|
||||
yabai = callPackage ../os-specific/darwin/yabai {
|
||||
inherit (darwin.apple_sdk.frameworks)
|
||||
Carbon Cocoa ScriptingBridge;
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa ScriptingBridge;
|
||||
};
|
||||
|
||||
yabause = libsForQt5.callPackage ../misc/emulators/yabause {
|
||||
|
|
Loading…
Reference in a new issue