Merge staging-next into staging
This commit is contained in:
commit
1db88b5c65
@ -32,6 +32,8 @@ let
|
|||||||
(pkgs.writeText "prometheus.rules" (concatStringsSep "\n" cfg.rules))
|
(pkgs.writeText "prometheus.rules" (concatStringsSep "\n" cfg.rules))
|
||||||
]);
|
]);
|
||||||
scrape_configs = filterValidPrometheus cfg.scrapeConfigs;
|
scrape_configs = filterValidPrometheus cfg.scrapeConfigs;
|
||||||
|
remote_write = filterValidPrometheus cfg.remoteWrite;
|
||||||
|
remote_read = filterValidPrometheus cfg.remoteRead;
|
||||||
alerting = {
|
alerting = {
|
||||||
inherit (cfg) alertmanagers;
|
inherit (cfg) alertmanagers;
|
||||||
};
|
};
|
||||||
@ -101,6 +103,126 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
promTypes.remote_read = types.submodule {
|
||||||
|
options = {
|
||||||
|
url = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = ''
|
||||||
|
ServerName extension to indicate the name of the server.
|
||||||
|
http://tools.ietf.org/html/rfc4366#section-3.1
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
remote_timeout = mkDefOpt types.str "30s" ''
|
||||||
|
Timeout for requests to the remote write endpoint.
|
||||||
|
'';
|
||||||
|
relabel_configs = mkOpt (types.listOf promTypes.relabel_config) ''
|
||||||
|
List of remote write relabel configurations.
|
||||||
|
List of relabel configurations.
|
||||||
|
'';
|
||||||
|
name = mkOpt types.string ''
|
||||||
|
Name of the remote write config, which if specified must be unique among remote write configs.
|
||||||
|
The name will be used in metrics and logging in place of a generated value to help users distinguish between
|
||||||
|
remote write configs.
|
||||||
|
'';
|
||||||
|
basic_auth = mkOpt (types.submodule {
|
||||||
|
options = {
|
||||||
|
username = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = ''
|
||||||
|
HTTP username
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
password = mkOpt types.str "HTTP password";
|
||||||
|
password_file = mkOpt types.str "HTTP password file";
|
||||||
|
};
|
||||||
|
}) ''
|
||||||
|
Sets the `Authorization` header on every remote write request with the
|
||||||
|
configured username and password.
|
||||||
|
password and password_file are mutually exclusive.
|
||||||
|
'';
|
||||||
|
bearer_token = mkOpt types.str ''
|
||||||
|
Sets the `Authorization` header on every remote write request with
|
||||||
|
the configured bearer token. It is mutually exclusive with `bearer_token_file`.
|
||||||
|
'';
|
||||||
|
bearer_token_file = mkOpt types.str ''
|
||||||
|
Sets the `Authorization` header on every remote write request with the bearer token
|
||||||
|
read from the configured file. It is mutually exclusive with `bearer_token`.
|
||||||
|
'';
|
||||||
|
tls_config = mkOpt promTypes.tls_config ''
|
||||||
|
Configures the remote write request's TLS settings.
|
||||||
|
'';
|
||||||
|
proxy_url = mkOpt types.str "Optional Proxy URL.";
|
||||||
|
metadata_config = {
|
||||||
|
send = mkDefOpt types.bool "true" ''
|
||||||
|
Whether metric metadata is sent to remote storage or not.
|
||||||
|
'';
|
||||||
|
send_interval = mkDefOpt types.str "1m" ''
|
||||||
|
How frequently metric metadata is sent to remote storage.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
promTypes.remote_write = types.submodule {
|
||||||
|
options = {
|
||||||
|
url = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = ''
|
||||||
|
ServerName extension to indicate the name of the server.
|
||||||
|
http://tools.ietf.org/html/rfc4366#section-3.1
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
remote_timeout = mkDefOpt types.str "30s" ''
|
||||||
|
Timeout for requests to the remote write endpoint.
|
||||||
|
'';
|
||||||
|
relabel_configs = mkOpt (types.listOf promTypes.relabel_config) ''
|
||||||
|
List of remote write relabel configurations.
|
||||||
|
List of relabel configurations.
|
||||||
|
'';
|
||||||
|
name = mkOpt types.string ''
|
||||||
|
Name of the remote write config, which if specified must be unique among remote write configs.
|
||||||
|
The name will be used in metrics and logging in place of a generated value to help users distinguish between
|
||||||
|
remote write configs.
|
||||||
|
'';
|
||||||
|
basic_auth = mkOpt (types.submodule {
|
||||||
|
options = {
|
||||||
|
username = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = ''
|
||||||
|
HTTP username
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
password = mkOpt types.str "HTTP password";
|
||||||
|
password_file = mkOpt types.str "HTTP password file";
|
||||||
|
};
|
||||||
|
}) ''
|
||||||
|
Sets the `Authorization` header on every remote write request with the
|
||||||
|
configured username and password.
|
||||||
|
password and password_file are mutually exclusive.
|
||||||
|
'';
|
||||||
|
bearer_token = mkOpt types.str ''
|
||||||
|
Sets the `Authorization` header on every remote write request with
|
||||||
|
the configured bearer token. It is mutually exclusive with `bearer_token_file`.
|
||||||
|
'';
|
||||||
|
bearer_token_file = mkOpt types.str ''
|
||||||
|
Sets the `Authorization` header on every remote write request with the bearer token
|
||||||
|
read from the configured file. It is mutually exclusive with `bearer_token`.
|
||||||
|
'';
|
||||||
|
tls_config = mkOpt promTypes.tls_config ''
|
||||||
|
Configures the remote write request's TLS settings.
|
||||||
|
'';
|
||||||
|
proxy_url = mkOpt types.str "Optional Proxy URL.";
|
||||||
|
metadata_config = {
|
||||||
|
send = mkDefOpt types.bool "true" ''
|
||||||
|
Whether metric metadata is sent to remote storage or not.
|
||||||
|
'';
|
||||||
|
send_interval = mkDefOpt types.str "1m" ''
|
||||||
|
How frequently metric metadata is sent to remote storage.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
promTypes.scrape_config = types.submodule {
|
promTypes.scrape_config = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
job_name = mkOption {
|
job_name = mkOption {
|
||||||
@ -580,6 +702,24 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
remoteRead = mkOption {
|
||||||
|
type = types.listOf promTypes.remote_read;
|
||||||
|
default = [];
|
||||||
|
description = ''
|
||||||
|
Parameters of the endpoints to query from.
|
||||||
|
See <link xlink:href="https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_read">the official documentation</link> for more information.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
remoteWrite = mkOption {
|
||||||
|
type = types.listOf promTypes.remote_write;
|
||||||
|
default = [];
|
||||||
|
description = ''
|
||||||
|
Parameters of the endpoints to send samples to.
|
||||||
|
See <link xlink:href="https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write">the official documentation</link> for more information.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
rules = mkOption {
|
rules = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [];
|
default = [];
|
||||||
|
@ -56,10 +56,10 @@ let
|
|||||||
ip -6 route add $HOST_ADDRESS6 dev eth0
|
ip -6 route add $HOST_ADDRESS6 dev eth0
|
||||||
ip -6 route add default via $HOST_ADDRESS6
|
ip -6 route add default via $HOST_ADDRESS6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${concatStringsSep "\n" (mapAttrsToList renderExtraVeth cfg.extraVeths)}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
${concatStringsSep "\n" (mapAttrsToList renderExtraVeth cfg.extraVeths)}
|
||||||
|
|
||||||
# Start the regular stage 1 script.
|
# Start the regular stage 1 script.
|
||||||
exec "$1"
|
exec "$1"
|
||||||
''
|
''
|
||||||
@ -223,8 +223,8 @@ let
|
|||||||
${ipcall cfg "ip route" "$LOCAL_ADDRESS" "localAddress"}
|
${ipcall cfg "ip route" "$LOCAL_ADDRESS" "localAddress"}
|
||||||
${ipcall cfg "ip -6 route" "$LOCAL_ADDRESS6" "localAddress6"}
|
${ipcall cfg "ip -6 route" "$LOCAL_ADDRESS6" "localAddress6"}
|
||||||
fi
|
fi
|
||||||
${concatStringsSep "\n" (mapAttrsToList renderExtraVeth cfg.extraVeths)}
|
|
||||||
fi
|
fi
|
||||||
|
${concatStringsSep "\n" (mapAttrsToList renderExtraVeth cfg.extraVeths)}
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -6,15 +6,15 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "aerc";
|
pname = "aerc";
|
||||||
version = "0.4.0";
|
version = "0.5.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://git.sr.ht/~sircmpwn/aerc/archive/${version}.tar.gz";
|
url = "https://git.sr.ht/~sircmpwn/aerc/archive/${version}.tar.gz";
|
||||||
sha256 = "05qy14k9wmyhsg1hiv4njfx1zn1m9lz4d1p50kc36v7pq0n4csfk";
|
sha256 = "h7kiRA5TuZ8mDSMymWU33stFLIOMd06TQLYzKW+faO4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
runVend = true;
|
runVend = true;
|
||||||
vendorSha256 = "13zs5113ip85yl6sw9hzclxwlnrhy18d39vh9cwbq97dgnh9rz89";
|
vendorSha256 = "9PXdUH0gu8PGaKlRJCUF15W1/LxA+sv3Pwl2UnjYxWY=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ diff --git a/config/config.go b/config/config.go
|
|||||||
index 32d07fc..8ffd3e8 100644
|
index 32d07fc..8ffd3e8 100644
|
||||||
--- a/config/config.go
|
--- a/config/config.go
|
||||||
+++ b/config/config.go
|
+++ b/config/config.go
|
||||||
@@ -355,6 +355,11 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
|
@@ -472,6 +472,11 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -41,10 +41,11 @@ index 32d07fc..8ffd3e8 100644
|
|||||||
file.NameMapper = mapName
|
file.NameMapper = mapName
|
||||||
config := &AercConfig{
|
config := &AercConfig{
|
||||||
Bindings: BindingConfig{
|
Bindings: BindingConfig{
|
||||||
@@ -423,6 +428,9 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
|
@@ -546,6 +428,9 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
|
||||||
if err = config.LoadConfig(file); err != nil {
|
if err = config.LoadConfig(file); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
+ for i, filter := range config.Filters {
|
+ for i, filter := range config.Filters {
|
||||||
+ config.Filters[i].Command = strings.ReplaceAll(filter.Command, "@SHAREDIR@", sharedir)
|
+ config.Filters[i].Command = strings.ReplaceAll(filter.Command, "@SHAREDIR@", sharedir)
|
||||||
+ }
|
+ }
|
||||||
|
23
pkgs/applications/window-managers/i3/balance-workspace.nix
Normal file
23
pkgs/applications/window-managers/i3/balance-workspace.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, i3ipc }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "i3-balance-workspace";
|
||||||
|
version = "1.8.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1gndzrwff8gfdqjjxv4zf2h2k0x7y97w1c3mrjpihz8xd0hbnk4d";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ i3ipc ];
|
||||||
|
|
||||||
|
doCheck = false; # project has no test
|
||||||
|
pythonImportsCheck = [ "i3_balance_workspace" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Balance windows and workspaces in i3wm";
|
||||||
|
homepage = "https://pypi.org/project/i3-balance-workspace/";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ pacien ];
|
||||||
|
};
|
||||||
|
}
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "intel-media-driver";
|
pname = "intel-media-driver";
|
||||||
version = "20.4.3";
|
version = "20.4.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intel";
|
owner = "intel";
|
||||||
repo = "media-driver";
|
repo = "media-driver";
|
||||||
rev = "intel-media-${version}";
|
rev = "intel-media-${version}";
|
||||||
sha256 = "04a0hcw9f8fr96xpc1inc19mncssqzxmjba9cdvvh71n8j7n3yyw";
|
sha256 = "149xkhhp8q06c1jzxjs24lnbfrlvf19m0hcwld593vv4arfpbpmf";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "utf8cpp";
|
pname = "utf8cpp";
|
||||||
version = "3.1.1";
|
version = "3.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nemtrif";
|
owner = "nemtrif";
|
||||||
repo = "utfcpp";
|
repo = "utfcpp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "1s2pda75488z7c3w3a6qv31bj239248696yk5j2a1drbg2x1dpfh";
|
sha256 = "sha256-l5sneFsuvPDIRni2x+aR9fmQ9bzXNnIiP9EzZ63sNtg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "boto3";
|
pname = "boto3";
|
||||||
version = "1.16.43"; # N.B: if you change this, change botocore too
|
version = "1.16.44"; # N.B: if you change this, change botocore too
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-pJs6tL+i9jlLpgFlz8RoQQeX3UEPMu7UfiL2FFHumG4=";
|
sha256 = "sha256-4/EO1tnKmEFf3sFcheUKiew41iKbzj+v1eeWWxbE68U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
|
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "botocore";
|
pname = "botocore";
|
||||||
version = "1.19.43"; # N.B: if you change this, change boto3 and awscli to a matching version
|
version = "1.19.44"; # N.B: if you change this, change boto3 and awscli to a matching version
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-c5jJANvU49YWRyaSFTluo+gIL0lPPntl2basoEnB1GM=";
|
sha256 = "sha256-dyXgjJWulsTb2VXLSuRKDAbT5B92p/6wqUHCekTGMRM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -11,11 +11,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyscreenshot";
|
pname = "pyscreenshot";
|
||||||
version = "2.2";
|
version = "2.3";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "dec8517cb18faf4f983dd2ee6636924e472a5644da1480ae871786dfcac244e9";
|
sha256 = "bfdc311bd6ec1ee9e3c25ece75b24a749673ad5d5f89ee02950080023054ffd5";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -29,8 +29,7 @@ buildPythonPackage rec {
|
|||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./library-paths.patch;
|
src = ./library-paths.patch;
|
||||||
libgeos_c = GEOS_LIBRARY_PATH;
|
libgeos_c = GEOS_LIBRARY_PATH;
|
||||||
libc = "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}"
|
libc = stdenv.lib.optionalString (!stdenv.isDarwin) "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}.6";
|
||||||
+ stdenv.lib.optionalString (!stdenv.isDarwin) ".6";
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ diff --git a/shapely/geos.py b/shapely/geos.py
|
|||||||
index d5a67d2..19b7ffc 100644
|
index d5a67d2..19b7ffc 100644
|
||||||
--- a/shapely/geos.py
|
--- a/shapely/geos.py
|
||||||
+++ b/shapely/geos.py
|
+++ b/shapely/geos.py
|
||||||
@@ -61,127 +61,10 @@ def load_dll(libname, fallbacks=None, mode=DEFAULT_MODE):
|
@@ -61,127 +61,17 @@ def load_dll(libname, fallbacks=None, mode=DEFAULT_MODE):
|
||||||
"Could not find lib {} or load any of its variants {}.".format(
|
"Could not find lib {} or load any of its variants {}.".format(
|
||||||
libname, fallbacks or []))
|
libname, fallbacks or []))
|
||||||
|
|
||||||
@ -128,7 +128,14 @@ index d5a67d2..19b7ffc 100644
|
|||||||
- free.argtypes = [c_void_p]
|
- free.argtypes = [c_void_p]
|
||||||
- free.restype = None
|
- free.restype = None
|
||||||
+_lgeos = CDLL('@libgeos_c@')
|
+_lgeos = CDLL('@libgeos_c@')
|
||||||
+free = CDLL('@libc@').free
|
+if sys.platform == 'darwin':
|
||||||
|
+ # ctypes.CDLL(None) internally calls dlopen(NULL), and as the dlopen
|
||||||
|
+ # manpage says, "If filename is NULL, then the returned handle is for the
|
||||||
|
+ # main program". This way we can let the linker do the work to figure out
|
||||||
|
+ # which libc Python is actually using.
|
||||||
|
+ free = CDLL(None).free
|
||||||
|
+else:
|
||||||
|
+ free = CDLL('@libc@').free
|
||||||
+free.argtypes = [c_void_p]
|
+free.argtypes = [c_void_p]
|
||||||
+free.restype = None
|
+free.restype = None
|
||||||
|
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ufonormalizer";
|
pname = "ufonormalizer";
|
||||||
version = "0.5.2";
|
version = "0.5.3";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "03k9dndnv3p3ysfq5wq8bnaijvqip61fh79d5gz2zk284vc47mgj";
|
sha256 = "0ijc697nv9rff9j1nhbf5vnyaryxlndq13msi94px8aq9gzxfrbi";
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
let
|
let
|
||||||
pname = "anki-bin";
|
pname = "anki-bin";
|
||||||
# Update hashes for both Linux and Darwin!
|
# Update hashes for both Linux and Darwin!
|
||||||
version = "2.1.36";
|
version = "2.1.38";
|
||||||
|
|
||||||
unpacked = stdenv.mkDerivation {
|
unpacked = stdenv.mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux.tar.bz2";
|
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux.tar.bz2";
|
||||||
sha256 = "01xcjnfs5pfh7v0nkffw2wpl19l6pj9k3kxrcawv3cm42asy0mfz";
|
sha256 = "14zbz8k142djka3b5sld3368m98lj80c39m6xg87bz140h25ylz4";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -49,7 +49,7 @@ if stdenv.isLinux then buildFHSUserEnv (appimageTools.defaultFhsEnvArgs // {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac.dmg";
|
url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac.dmg";
|
||||||
sha256 = "1i6iidm5h8r9g801mvqxi2av03qdw3lr28056fv5ixnb5dq2wqim";
|
sha256 = "1krl014jhhby0zv4if9cgbcarmhcg6zccyhxw1yb6djiqap0zii7";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ undmg ];
|
nativeBuildInputs = [ undmg ];
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "4.14.212";
|
version = "4.14.213";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0y8ck8pfxm8862wi4cz8qp9x9b18yl448i8m7bpbphs290nc66qf";
|
sha256 = "079axkl14jp8lz30h21q4gmhmjw6zf5ycmxji65kgcgyg7dwwyzx";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
|
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "4.4.248";
|
version = "4.4.249";
|
||||||
extraMeta.branch = "4.4";
|
extraMeta.branch = "4.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "1z1xbkm0z0v6k3scszii5hi24pn391332g0li93p3n1rnv74jap5";
|
sha256 = "04pb4vgia6zaindf6804gq9jn3mhmy01yijqmpi79sh9rlqzzh1i";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
|
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "4.9.248";
|
version = "4.9.249";
|
||||||
extraMeta.branch = "4.9";
|
extraMeta.branch = "4.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "1kzczy0lz3lnjkhvx90dgjmzn3d3y55qxlihiclkr4y9c602d1s6";
|
sha256 = "0kjcw0vgga9msgqnipgg028v3rcc5am2d094v3hqkkjvzyb8dwxi";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tomcat-native";
|
pname = "tomcat-native";
|
||||||
version = "1.2.25";
|
version = "1.2.26";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://apache/tomcat/tomcat-connectors/native/${version}/source/${pname}-${version}-src.tar.gz";
|
url = "mirror://apache/tomcat/tomcat-connectors/native/${version}/source/${pname}-${version}-src.tar.gz";
|
||||||
sha512 = "e121c0a18c51b5f952833df44c3a0add1f9a6e1b61e300abbafa0bc7e8f32296e64c9f81e9ad7389c1bd24abc40739e4726a56158d08e33b7ef00e5fa8a1d33d";
|
sha512 = "319lrb0b5vvm2m46rdz2zbicisijvim6948ghz0mypck6f419yjr68j8rpmxpckscaj0ghmbq3p28jpxbjpig84ygy0m63cvgpxknfa";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${pname}-${version}-src/native";
|
sourceRoot = "${pname}-${version}-src/native";
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "matterircd";
|
pname = "matterircd";
|
||||||
version = "0.19.4";
|
version = "0.20.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "42wim";
|
owner = "42wim";
|
||||||
repo = "matterircd";
|
repo = "matterircd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1kwyk6gy4d4v2rzyr7vwvi8vm69rz1hdn0gkpan2kh1p63z77gbv";
|
sha256 = "0rnkzxf953nd67w33ghmrfjfg099cd21nldm31q8pk7fs1mgjnld";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "github.com/42wim/matterircd";
|
goPackagePath = "github.com/42wim/matterircd";
|
||||||
|
@ -5,15 +5,15 @@
|
|||||||
, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:
|
, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2020-12-27";
|
version = "2020-12-28";
|
||||||
pname = "oh-my-zsh";
|
pname = "oh-my-zsh";
|
||||||
rev = "90ffda7ed28dd8273b80bd262c6a28be65e4da71";
|
rev = "4b2431e8b1c08a2dc14fe31bf07a5e5f08eaa87e";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
owner = "ohmyzsh";
|
owner = "ohmyzsh";
|
||||||
repo = "ohmyzsh";
|
repo = "ohmyzsh";
|
||||||
sha256 = "lYf+NmSgY0WFBMWxVBrh/f2cSJ0WqnaTktQNA0nYZNE=";
|
sha256 = "09776acglph64lg9x1f1ypglbbhknrqidq47zk95vksd1in8l3is";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -28,11 +28,11 @@ let
|
|||||||
|
|
||||||
in with py.pkgs; buildPythonApplication rec {
|
in with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "awscli";
|
pname = "awscli";
|
||||||
version = "1.18.203"; # N.B: if you change this, change botocore to a matching version too
|
version = "1.18.204"; # N.B: if you change this, change botocore to a matching version too
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-afcXbYKRc9w0Zbuyg/bDA/J/lHm4N4FttUgGk4h4H4k=";
|
sha256 = "sha256-YAyqRJbETCagcME63dt5b9WDRj6tq8Gdwk6qyAd86lE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -19,11 +19,11 @@ let
|
|||||||
in
|
in
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "duplicity";
|
pname = "duplicity";
|
||||||
version = "0.8.13";
|
version = "0.8.15";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://code.launchpad.net/duplicity/${majorMinor version}-series/${majorMinorPatch version}/+download/duplicity-${version}.tar.gz";
|
url = "https://code.launchpad.net/duplicity/${majorMinor version}-series/${majorMinorPatch version}/+download/duplicity-${version}.tar.gz";
|
||||||
sha256 = "0lflg1ay4q4w9qzpmh6y2hza4fc3ig12q44qkd80ks17hj21bxa6";
|
sha256 = "1kg467mxg5a97v1rlv4shk32krgv8ys4nczq4b11av4bp1lgysdc";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -38,12 +38,12 @@
|
|||||||
# """ERROR 2
|
# """ERROR 2
|
||||||
--- a/testing/functional/test_rdiffdir.py
|
--- a/testing/functional/test_rdiffdir.py
|
||||||
+++ b/testing/functional/test_rdiffdir.py
|
+++ b/testing/functional/test_rdiffdir.py
|
||||||
@@ -38,7 +38,7 @@ class RdiffdirTest(FunctionalTestCase):
|
@@ -42,7 +42,7 @@ class RdiffdirTest(FunctionalTestCase):
|
||||||
|
basepython = os.environ.get(u'TOXPYTHON', None)
|
||||||
def run_rdiffdir(self, argstring):
|
if basepython is not None:
|
||||||
u"""Run rdiffdir with given arguments"""
|
cmd_list.extend([basepython])
|
||||||
- self.run_cmd(u"../bin/rdiffdir " + argstring)
|
- cmd_list.extend([u"../bin/rdiffdir"])
|
||||||
+ self.run_cmd(u"rdiffdir " + argstring)
|
+ cmd_list.extend([u"rdiffdir"])
|
||||||
|
cmd_list.extend(argstring.split())
|
||||||
def run_cycle(self, dirname_list):
|
cmdline = u" ".join([u'"%s"' % x for x in cmd_list])
|
||||||
u"""Run diff/patch cycle on directories in dirname_list"""
|
self.run_cmd(cmdline)
|
||||||
|
@ -1,15 +1,17 @@
|
|||||||
{stdenv, fetchgit, autoreconfHook, halibut}:
|
{stdenv, fetchgit, autoreconfHook, halibut}:
|
||||||
let
|
let
|
||||||
date = "20200206";
|
date = "20200705";
|
||||||
rev = "963bc9d";
|
rev = "2a7d4a2";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "agedu-${date}.${rev}";
|
pname = "agedu";
|
||||||
|
version = "${date}.${rev}";
|
||||||
|
|
||||||
# upstream provides tarballs but it seems they disappear after the next version is released
|
# upstream provides tarballs but it seems they disappear after the next version is released
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://git.tartarus.org/simon/agedu.git";
|
url = "https://git.tartarus.org/simon/agedu.git";
|
||||||
inherit rev;
|
inherit rev;
|
||||||
sha256 = "1jmvgg2v6aqgbgpxbndrdhgfhlglrq4yv4sdbjaj6bsz9fb8lqhc";
|
sha256 = "gRNscl/vhBoZaHFCs9JjDBHDRoEpILJLtiI4YV+K/b4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [autoreconfHook halibut];
|
nativeBuildInputs = [autoreconfHook halibut];
|
||||||
|
@ -2,18 +2,18 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "amazon-ecs-cli";
|
pname = "amazon-ecs-cli";
|
||||||
version = "1.20.0";
|
version = "1.21.0";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
if stdenv.hostPlatform.system == "x86_64-linux" then
|
if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-v${version}";
|
url = "https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-v${version}";
|
||||||
sha256 = "11cw2hk48x66wlsg5bzay95l2pgncwnawzj4xmqmbchhhvphrvxr";
|
sha256 = "sEHwhirU2EYwtBRegiIvN4yr7VKtmy7e6xx5gZOkuY0=";
|
||||||
}
|
}
|
||||||
else if stdenv.hostPlatform.system == "x86_64-darwin" then
|
else if stdenv.hostPlatform.system == "x86_64-darwin" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-darwin-amd64-v${version}";
|
url = "https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-darwin-amd64-v${version}";
|
||||||
sha256 = "1f4yq04sgwkj2p0j598a8vc54dzihmqvg9daa6mxnqj403ln0rg1";
|
sha256 = "1viala49sifpcmgn3jw24h5bkrlm4ffadjiqagbxj3lr0r78i9nm";
|
||||||
}
|
}
|
||||||
else throw "Architecture not supported";
|
else throw "Architecture not supported";
|
||||||
|
|
||||||
|
@ -22166,6 +22166,8 @@ in
|
|||||||
|
|
||||||
i3altlayout = callPackage ../applications/window-managers/i3/altlayout.nix { };
|
i3altlayout = callPackage ../applications/window-managers/i3/altlayout.nix { };
|
||||||
|
|
||||||
|
i3-balance-workspace = python3Packages.callPackage ../applications/window-managers/i3/balance-workspace.nix { };
|
||||||
|
|
||||||
i3-easyfocus = callPackage ../applications/window-managers/i3/easyfocus.nix { };
|
i3-easyfocus = callPackage ../applications/window-managers/i3/easyfocus.nix { };
|
||||||
|
|
||||||
i3-layout-manager = callPackage ../applications/window-managers/i3/layout-manager.nix { };
|
i3-layout-manager = callPackage ../applications/window-managers/i3/layout-manager.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user