Merge remote-tracking branch 'upstream/staging-next' into down-integrate-staging
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "disfetch";
|
||||
version = "1.21";
|
||||
version = "1.22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "llathasa-veleth";
|
||||
repo = "disfetch";
|
||||
rev = version;
|
||||
sha256 = "sha256-AAfpv1paEnHu1S2B8yC0hyYOj5deKTkCyLGvp6Roz64=";
|
||||
sha256 = "sha256-fNmoaEwRrm6EFe+BwOTwAs1THMYhcal1eshXf+1mVQg=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
|
||||
let
|
||||
# Run `eval $(nix-build -A lorri.updater)` after updating the revision!
|
||||
version = "1.3.1";
|
||||
gitRev = "df83b9b175fecc8ec8b02096c5cfe2db3d00b92e";
|
||||
sha256 = "1df6p0b482vhymw3z7gimc441jr7aix9lhdbcm5wjvw9f276016f";
|
||||
cargoSha256 = "1f9b2h3zakw7qmlnc4rqhxnw80sl5h4mj8cghr82iacxwqz499ql";
|
||||
version = "1.4.0";
|
||||
gitRev = "fee4ffac9ee16fc921d413789cc059b043f2db3d";
|
||||
sha256 = "sha256:0ix0k85ywlvkxsampajkq521d290gb0n60qwhnk6j0sc55yn558h";
|
||||
cargoSha256 = "sha256:1ngn4wnyh6cjnyg7mb48zvng0zn5fcn8s75y88nh91xq9x1bi2d9";
|
||||
|
||||
in (rustPlatform.buildRustPackage rec {
|
||||
pname = "lorri";
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "osm2pgsql";
|
||||
version = "1.4.1";
|
||||
version = "1.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openstreetmap";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0ld43k7xx395hd6kcn8wyacvb1cfjy670lh9w6yhfi78nxqj9mmy";
|
||||
sha256 = "141blh6lwbgn8hh45xaa0yiwygdc444h9zahx5xrzx5pck9zb5ps";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
, wrapGAppsHook
|
||||
, withGui ? false }:
|
||||
|
||||
assert withGui -> !stdenv.isDarwin;
|
||||
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rmlint";
|
||||
@@ -30,12 +32,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "15xfkcw1bkfyf3z8kl23k3rlv702m0h7ghqxvhniynvlwbgh6j2x";
|
||||
};
|
||||
|
||||
CFLAGS="-I${lib.getDev util-linux}/include";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
sphinx
|
||||
gettext
|
||||
scons
|
||||
] ++ lib.optionals withGui [
|
||||
makeWrapper
|
||||
@@ -57,9 +56,21 @@ stdenv.mkDerivation rec {
|
||||
python3.pkgs.pygobject3
|
||||
];
|
||||
|
||||
# this doesn't seem to support configureFlags, and appends $out afterwards,
|
||||
# so add the --without-gui in front of it
|
||||
prefixKey = lib.optionalString (!withGui) " --without-gui " + "--prefix=";
|
||||
prePatch = ''
|
||||
export CFLAGS="$NIX_CFLAGS_COMPILE"
|
||||
export LDFLAGS="''${NIX_LDFLAGS//-rpath /-Wl,-rpath=}"
|
||||
|
||||
# remove sources of nondeterminism
|
||||
substituteInPlace lib/cmdline.c \
|
||||
--replace "__DATE__" "\"Jan 1 1970\"" \
|
||||
--replace "__TIME__" "\"00:00:00\""
|
||||
substituteInPlace docs/SConscript \
|
||||
--replace "gzip -c " "gzip -cn "
|
||||
'';
|
||||
|
||||
prefixKey = "--prefix=";
|
||||
|
||||
sconsFlags = lib.optionals (!withGui) [ "--without-gui" ];
|
||||
|
||||
# in GUI mode, this shells out to itself, and tries to import python modules
|
||||
postInstall = lib.optionalString withGui ''
|
||||
@@ -70,8 +81,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
|
||||
homepage = "https://rmlint.readthedocs.org";
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.koral ];
|
||||
maintainers = with maintainers; [ aaschmid koral ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, makeWrapper
|
||||
, bison
|
||||
, ncurses
|
||||
, libevent
|
||||
@@ -41,7 +40,6 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
ncurses
|
||||
libevent
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices, installShellFiles }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices, installShellFiles, libiconv }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "watchexec";
|
||||
version = "1.14.1";
|
||||
version = "1.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0m4hipjgg64572lzqy9hz4iq9c4awc93c9rmnpap5iyi855x7idj";
|
||||
sha256 = "1b0ds04q4g8xcgwkziwb5hsi7v73w9y0prvhxz880zzh930652n2";
|
||||
};
|
||||
|
||||
cargoSha256 = "0035pqr61mdx699hd4f8hnxknvsdg67l6ys7gxym3fzd9dcmqqff";
|
||||
cargoSha256 = "0jpfgyz5l4fdb5cnqmadzjzrvc6dwgray4b0mx80pghpjw8a8qfb";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/watchexec.1
|
||||
@@ -27,6 +27,5 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/watchexec/watchexec";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = [ maintainers.michalrus ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
, rustPlatform
|
||||
, withFzf ? true
|
||||
, fzf
|
||||
, libiconv
|
||||
# checkInputs
|
||||
, fish
|
||||
, powershell
|
||||
@@ -15,15 +16,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "zoxide";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ajeetdsouza";
|
||||
repo = "zoxide";
|
||||
rev = "v${version}";
|
||||
sha256 = "143lh94mw31pm9q7ib63h2k842g3h222mdabhf25hpb19lka2w5y";
|
||||
sha256 = "ZeGFsVBpEhKi4EIhpQlCuriFzmHAgLYw3qE/zqfyqgU=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
# tests are broken on darwin
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
@@ -46,7 +49,7 @@ rustPlatform.buildRustPackage rec {
|
||||
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
||||
'';
|
||||
|
||||
cargoSha256 = "05mp101yk1zkjj1gwbkldizq6f9f8089gqgvq42c4ngq88pc7v9a";
|
||||
cargoSha256 = "Hzn01+OhdBrZD1woXN4Pwf/S72Deln1gyyBOWyDC6iM=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fast cd command that learns your habits";
|
||||
|
||||
Reference in New Issue
Block a user