Merge master into staging-next
This commit is contained in:
@@ -21,24 +21,24 @@ let
|
||||
sources = name: system: {
|
||||
x86_64-darwin = {
|
||||
url = "${baseUrl}/${name}-darwin-x86_64.tar.gz";
|
||||
sha256 = "135xbaz6q4565mklxjmm4mybm5qayvz34m0bdg609597kxw6l97j";
|
||||
sha256 = "sha256-aHFwcynt4xQ0T1J+OTSxgttU9W3VFJAqCwmQSdVg8Fk=";
|
||||
};
|
||||
|
||||
x86_64-linux = {
|
||||
url = "${baseUrl}/${name}-linux-x86_64.tar.gz";
|
||||
sha256 = "1i4cp6kyqbqj0fnmwx11bq6a1k4hrhyxz9qifr1qjfi7n8ybqrqy";
|
||||
sha256 = "sha256-MfldToK7ZfdWZiZnI1qKI1o/dSiUcysxzUkTYMVZ5u4=";
|
||||
};
|
||||
}.${system};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "google-cloud-sdk";
|
||||
version = "327.0.0";
|
||||
version = "328.0.0";
|
||||
|
||||
src = fetchurl (sources "${pname}-${version}" stdenv.hostPlatform.system);
|
||||
|
||||
buildInputs = [ python makeWrapper ];
|
||||
buildInputs = [ python ];
|
||||
|
||||
nativeBuildInputs = [ jq ];
|
||||
nativeBuildInputs = [ jq makeWrapper ];
|
||||
|
||||
patches = [
|
||||
# For kubectl configs, don't store the absolute path of the `gcloud` binary as it can be garbage-collected
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ lib, stdenv, fetchurl, fuse, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.14.9";
|
||||
version = "1.15.1";
|
||||
pname = "bindfs";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bindfs.org/downloads/${pname}-${version}.tar.gz";
|
||||
sha256 = "0fnij365dn4ihkpfc92x63inxxwpminzffyj55krp1w02canpl5n";
|
||||
sha256 = "sha256-BN01hKbN+a9DRNQDxiGFyp+rMc465aJdAQG8EJNsaKs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A FUSE filesystem for mounting a directory to another location";
|
||||
homepage = "https://bindfs.org";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ lovek323 ];
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ lovek323 lovesegfault ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
{ lib, stdenv, fetchgit, flex, bison, python3, autoconf, automake, gnulib, libtool
|
||||
, gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkg-config
|
||||
, fuse # only needed for grub-mount
|
||||
, runtimeShell
|
||||
, zfs ? null
|
||||
, efiSupport ? false
|
||||
, zfsSupport ? false
|
||||
, xenSupport ? false
|
||||
, kbdcompSupport ? false, ckbcomp
|
||||
}:
|
||||
|
||||
with lib;
|
||||
@@ -53,6 +55,13 @@ stdenv.mkDerivation rec {
|
||||
./fix-bash-completion.patch
|
||||
];
|
||||
|
||||
postPatch = if kbdcompSupport then ''
|
||||
sed -i util/grub-kbdcomp.in -e 's@\bckbcomp\b@${ckbcomp}/bin/ckbcomp@'
|
||||
'' else ''
|
||||
echo '#! ${runtimeShell}' > util/grub-kbdcomp.in
|
||||
echo 'echo "Compile grub2 with { kbdcompSupport = true; } to enable support for this command."' >> util/grub-kbdcomp.in
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ bison flex python3 pkg-config autoconf automake ];
|
||||
buildInputs = [ ncurses libusb-compat-0_1 freetype gettext lvm2 fuse libtool ]
|
||||
++ optional doCheck qemu
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "piston-cli";
|
||||
version = "1.2.1";
|
||||
version = "1.2.2";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bf0hhKb+6+07HhrkFrsWCnUQfsQWOdK/dPTlt9iZTno=";
|
||||
sha256 = "hhOistr5lHF6rIuMpudKwSuBQhaQDzTdelAOCjyVQZk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ rich prompt_toolkit requests pygments ];
|
||||
|
||||
@@ -14,27 +14,21 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
# Logrotate wants to access the 'mail' program; to be done.
|
||||
patchPhase = ''
|
||||
sed -i -e 's,[a-z/]\+gzip,${gzip}/bin/gzip,' \
|
||||
-e 's,[a-z/]\+gunzip,${gzip}/bin/gunzip,' configure.ac
|
||||
|
||||
${lib.optionalString (mailutils != null) ''
|
||||
sed -i -e 's,[a-z/]\+mail,${mailutils}/bin/mail,' configure.ac
|
||||
''}
|
||||
'';
|
||||
|
||||
autoreconfPhase = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
configureFlags = [
|
||||
"--with-compress-command=${gzip}/bin/gzip"
|
||||
"--with-uncompress-command=${gzip}/bin/gunzip"
|
||||
] ++ lib.optionals (mailutils != null) [
|
||||
"--with-default-mail-command=${mailutils}/bin/mail"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ popt ];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
homepage = "https://fedorahosted.org/releases/l/o/logrotate/";
|
||||
description = "Rotates and compresses system logs";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.viric ];
|
||||
platforms = lib.platforms.all;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.viric ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,21 +4,26 @@ with lib;
|
||||
|
||||
let
|
||||
perlDeps = with perlPackages; [
|
||||
ConfigOnion DateCalc
|
||||
FileBaseDir YAMLLibYAML
|
||||
GetoptLongDescriptive DateTimeFormatStrptime
|
||||
DateCalc
|
||||
DateTimeFormatStrptime
|
||||
enum
|
||||
FileBaseDir
|
||||
GetoptLongDescriptive
|
||||
ListMoreUtils
|
||||
RegexpCommon
|
||||
StringInterpolate
|
||||
YAMLLibYAML
|
||||
];
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "ledger2beancount";
|
||||
version = "2.1";
|
||||
version = "2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zacchiro";
|
||||
owner = "beancount";
|
||||
repo = "ledger2beancount";
|
||||
rev = version;
|
||||
sha256 = "0w88jb1x0w02jwwf6ipx3cxr89kzffrrdqws3556zrvvs01bh84j";
|
||||
sha256 = "0kimp8l9ax37grfv5r5iw0g0xnrpkak022fl10y3i7kc4nyi1s99";
|
||||
};
|
||||
|
||||
phases = [
|
||||
@@ -50,7 +55,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
Conversion is based on (concrete) syntax, so that information that is not meaningful for accounting reasons but still valuable (e.g., comments, formatting, etc.) can be preserved.
|
||||
'';
|
||||
homepage = "https://github.com/zacchiro/ledger2beancount";
|
||||
homepage = "https://github.com/beancount/ledger2beancount";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ pablovsky ];
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
{ fetchFromGitHub, pythonPackages, lib }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
with pythonPackages;
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "MarkdownPP";
|
||||
version = "1.5.1";
|
||||
propagatedBuildInputs = [ pillow watchdog ];
|
||||
propagatedBuildInputs = with python3.pkgs; [ pillow watchdog ];
|
||||
checkPhase = ''
|
||||
cd test
|
||||
PATH=$out/bin:$PATH ${python}/bin/${python.executable} test.py
|
||||
PATH=$out/bin:$PATH ${python3}/bin/${python3.executable} test.py
|
||||
'';
|
||||
src = fetchFromGitHub {
|
||||
owner = "jreese";
|
||||
|
||||
@@ -37,8 +37,6 @@ rustPlatform.buildRustPackage rec {
|
||||
installShellCompletion --zsh complete/_rg
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests) ripgrep; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A utility that combines the usability of The Silver Searcher with the raw speed of grep";
|
||||
homepage = "https://github.com/BurntSushi/ripgrep";
|
||||
|
||||
Reference in New Issue
Block a user