Merge master into staging-next
This commit is contained in:
commit
18b25cbb99
64 changed files with 321 additions and 142 deletions
|
@ -874,6 +874,18 @@
|
||||||
<literal>hardware.saleae-logic.package</literal>.
|
<literal>hardware.saleae-logic.package</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
ZFS module will not allow hibernation by default, this is a
|
||||||
|
safety measure to prevent data loss cases like the ones
|
||||||
|
described at
|
||||||
|
<link xlink:href="https://github.com/openzfs/zfs/issues/260">OpenZFS/260</link>
|
||||||
|
and
|
||||||
|
<link xlink:href="https://github.com/openzfs/zfs/issues/12842">OpenZFS/12842</link>.
|
||||||
|
Use the <literal>boot.zfs.allowHibernation</literal> option to
|
||||||
|
configure this behaviour.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The Redis module now disables RDB persistence when
|
The Redis module now disables RDB persistence when
|
||||||
|
|
|
@ -273,6 +273,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
|
||||||
|
|
||||||
- A new module was added for the Saleae Logic device family, providing the options `hardware.saleae-logic.enable` and `hardware.saleae-logic.package`.
|
- A new module was added for the Saleae Logic device family, providing the options `hardware.saleae-logic.enable` and `hardware.saleae-logic.package`.
|
||||||
|
|
||||||
|
- ZFS module will not allow hibernation by default, this is a safety measure to prevent data loss cases like the ones described at [OpenZFS/260](https://github.com/openzfs/zfs/issues/260) and [OpenZFS/12842](https://github.com/openzfs/zfs/issues/12842). Use the `boot.zfs.allowHibernation` option to configure this behaviour.
|
||||||
|
|
||||||
- The Redis module now disables RDB persistence when `services.redis.servers.<name>.save = []` instead of using the Redis default.
|
- The Redis module now disables RDB persistence when `services.redis.servers.<name>.save = []` instead of using the Redis default.
|
||||||
|
|
||||||
- Neo4j was updated from version 3 to version 4. See this [migration guide](https://neo4j.com/docs/upgrade-migration-guide/current/) on how to migrate your Neo4j instance.
|
- Neo4j was updated from version 3 to version 4. See this [migration guide](https://neo4j.com/docs/upgrade-migration-guide/current/) on how to migrate your Neo4j instance.
|
||||||
|
|
|
@ -26,8 +26,8 @@ let
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = user;
|
User = user;
|
||||||
Group = mkDefault "acme";
|
Group = mkDefault "acme";
|
||||||
UMask = 0022;
|
UMask = "0022";
|
||||||
StateDirectoryMode = 750;
|
StateDirectoryMode = "750";
|
||||||
ProtectSystem = "strict";
|
ProtectSystem = "strict";
|
||||||
ReadWritePaths = [
|
ReadWritePaths = [
|
||||||
"/var/lib/acme"
|
"/var/lib/acme"
|
||||||
|
@ -85,7 +85,7 @@ let
|
||||||
serviceConfig = commonServiceConfig // {
|
serviceConfig = commonServiceConfig // {
|
||||||
StateDirectory = "acme/.minica";
|
StateDirectory = "acme/.minica";
|
||||||
BindPaths = "/var/lib/acme/.minica:/tmp/ca";
|
BindPaths = "/var/lib/acme/.minica:/tmp/ca";
|
||||||
UMask = 0077;
|
UMask = "0077";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Working directory will be /tmp
|
# Working directory will be /tmp
|
||||||
|
@ -243,7 +243,7 @@ let
|
||||||
|
|
||||||
serviceConfig = commonServiceConfig // {
|
serviceConfig = commonServiceConfig // {
|
||||||
Group = data.group;
|
Group = data.group;
|
||||||
UMask = 0027;
|
UMask = "0027";
|
||||||
|
|
||||||
StateDirectory = "acme/${cert}";
|
StateDirectory = "acme/${cert}";
|
||||||
|
|
||||||
|
|
|
@ -239,7 +239,7 @@ in {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
# requires a relative directory name to create beneath /var/lib
|
# requires a relative directory name to create beneath /var/lib
|
||||||
StateDirectory = user;
|
StateDirectory = user;
|
||||||
StateDirectoryMode = 0750;
|
StateDirectoryMode = "0750";
|
||||||
ExecStart = "${pkgs.python3Packages.journalwatch}/bin/journalwatch mail";
|
ExecStart = "${pkgs.python3Packages.journalwatch}/bin/journalwatch mail";
|
||||||
# lowest CPU and IO priority, but both still in best-effort class to prevent starvation
|
# lowest CPU and IO priority, but both still in best-effort class to prevent starvation
|
||||||
Nice=19;
|
Nice=19;
|
||||||
|
|
|
@ -137,7 +137,7 @@ in {
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
WorkingDirectory = appDir;
|
WorkingDirectory = appDir;
|
||||||
StateDirectory = baseNameOf dataDir;
|
StateDirectory = baseNameOf dataDir;
|
||||||
UMask = 0027;
|
UMask = "0027";
|
||||||
EnvironmentFile = cfg.environmentFile;
|
EnvironmentFile = cfg.environmentFile;
|
||||||
|
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
|
|
|
@ -162,7 +162,7 @@ in {
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
WorkingDirectory = pkgs.mautrix-telegram; # necessary for the database migration scripts to be found
|
WorkingDirectory = pkgs.mautrix-telegram; # necessary for the database migration scripts to be found
|
||||||
StateDirectory = baseNameOf dataDir;
|
StateDirectory = baseNameOf dataDir;
|
||||||
UMask = 0027;
|
UMask = "0027";
|
||||||
EnvironmentFile = cfg.environmentFile;
|
EnvironmentFile = cfg.environmentFile;
|
||||||
|
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
|
|
|
@ -183,7 +183,7 @@ in
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
ReadWritePaths = cfg.settings.DatabaseDirectory;
|
ReadWritePaths = cfg.settings.DatabaseDirectory;
|
||||||
RuntimeDirectory = "geoipupdate";
|
RuntimeDirectory = "geoipupdate";
|
||||||
RuntimeDirectoryMode = 0700;
|
RuntimeDirectoryMode = "0700";
|
||||||
CapabilityBoundingSet = "";
|
CapabilityBoundingSet = "";
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
PrivateMounts = true;
|
PrivateMounts = true;
|
||||||
|
|
|
@ -107,7 +107,7 @@ in {
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
WorkingDirectory = pkgs.mx-puppet-discord;
|
WorkingDirectory = pkgs.mx-puppet-discord;
|
||||||
StateDirectory = baseNameOf dataDir;
|
StateDirectory = baseNameOf dataDir;
|
||||||
UMask = 0027;
|
UMask = "0027";
|
||||||
|
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${pkgs.mx-puppet-discord}/bin/mx-puppet-discord \
|
${pkgs.mx-puppet-discord}/bin/mx-puppet-discord \
|
||||||
|
|
|
@ -138,7 +138,7 @@ in {
|
||||||
SystemCallArchitectures = "native";
|
SystemCallArchitectures = "native";
|
||||||
WorkingDirectory = serviceDataDir;
|
WorkingDirectory = serviceDataDir;
|
||||||
StateDirectory = baseNameOf serviceDataDir;
|
StateDirectory = baseNameOf serviceDataDir;
|
||||||
UMask = 0027;
|
UMask = "0027";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -494,7 +494,7 @@ in
|
||||||
Group = "parsedmarc";
|
Group = "parsedmarc";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
RuntimeDirectory = "parsedmarc";
|
RuntimeDirectory = "parsedmarc";
|
||||||
RuntimeDirectoryMode = 0700;
|
RuntimeDirectoryMode = "0700";
|
||||||
CapabilityBoundingSet = "";
|
CapabilityBoundingSet = "";
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
PrivateMounts = true;
|
PrivateMounts = true;
|
||||||
|
|
|
@ -146,7 +146,7 @@ in
|
||||||
enable = mkDefault config.boot.isContainer;
|
enable = mkDefault config.boot.isContainer;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc.issue =
|
environment.etc.issue = mkDefault
|
||||||
{ # Friendly greeting on the virtual consoles.
|
{ # Friendly greeting on the virtual consoles.
|
||||||
source = pkgs.writeText "issue" ''
|
source = pkgs.writeText "issue" ''
|
||||||
|
|
||||||
|
|
|
@ -372,7 +372,7 @@ in {
|
||||||
User = user;
|
User = user;
|
||||||
WorkingDirectory = "${bookstack}";
|
WorkingDirectory = "${bookstack}";
|
||||||
RuntimeDirectory = "bookstack/cache";
|
RuntimeDirectory = "bookstack/cache";
|
||||||
RuntimeDirectoryMode = 0700;
|
RuntimeDirectoryMode = "0700";
|
||||||
};
|
};
|
||||||
path = [ pkgs.replace-secret ];
|
path = [ pkgs.replace-secret ];
|
||||||
script =
|
script =
|
||||||
|
|
|
@ -798,13 +798,13 @@ in
|
||||||
"public"
|
"public"
|
||||||
"sockets"
|
"sockets"
|
||||||
];
|
];
|
||||||
RuntimeDirectoryMode = 0750;
|
RuntimeDirectoryMode = "0750";
|
||||||
StateDirectory = map (p: "discourse/" + p) [
|
StateDirectory = map (p: "discourse/" + p) [
|
||||||
"uploads"
|
"uploads"
|
||||||
"backups"
|
"backups"
|
||||||
"tmp"
|
"tmp"
|
||||||
];
|
];
|
||||||
StateDirectoryMode = 0750;
|
StateDirectoryMode = "0750";
|
||||||
LogsDirectory = "discourse";
|
LogsDirectory = "discourse";
|
||||||
TimeoutSec = "infinity";
|
TimeoutSec = "infinity";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
|
|
@ -616,7 +616,7 @@ in
|
||||||
Group = "keycloak";
|
Group = "keycloak";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
RuntimeDirectory = "keycloak";
|
RuntimeDirectory = "keycloak";
|
||||||
RuntimeDirectoryMode = 0700;
|
RuntimeDirectoryMode = "0700";
|
||||||
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
|
|
|
@ -394,7 +394,7 @@ in {
|
||||||
User = user;
|
User = user;
|
||||||
WorkingDirectory = snipe-it;
|
WorkingDirectory = snipe-it;
|
||||||
RuntimeDirectory = "snipe-it/cache";
|
RuntimeDirectory = "snipe-it/cache";
|
||||||
RuntimeDirectoryMode = 0700;
|
RuntimeDirectoryMode = "0700";
|
||||||
};
|
};
|
||||||
path = [ pkgs.replace-secret ];
|
path = [ pkgs.replace-secret ];
|
||||||
script =
|
script =
|
||||||
|
|
|
@ -226,6 +226,15 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
allowHibernation = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = lib.mdDoc ''
|
||||||
|
Allow hibernation support, this may be a unsafe option depending on your
|
||||||
|
setup. Make sure to NOT use Swap on ZFS.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
extraPools = mkOption {
|
extraPools = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [];
|
default = [];
|
||||||
|
@ -498,6 +507,10 @@ in
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelModules = [ "zfs" ];
|
kernelModules = [ "zfs" ];
|
||||||
|
# https://github.com/openzfs/zfs/issues/260
|
||||||
|
# https://github.com/openzfs/zfs/issues/12842
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/106093
|
||||||
|
kernelParams = lib.optionals (!config.boot.zfs.allowHibernation) [ "nohibernate" ];
|
||||||
|
|
||||||
extraModulePackages = [
|
extraModulePackages = [
|
||||||
(if config.boot.zfs.enableUnstable then
|
(if config.boot.zfs.enableUnstable then
|
||||||
|
|
|
@ -15,14 +15,14 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mmlgui";
|
pname = "mmlgui";
|
||||||
version = "unstable-2022-09-15";
|
version = "unstable-2022-10-13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "superctr";
|
owner = "superctr";
|
||||||
repo = "mmlgui";
|
repo = "mmlgui";
|
||||||
rev = "163cc73a7c009d524b0d5aff94f9ed47fe19e3ce";
|
rev = "6b2687504644b481db403f032f463e38bbbb1dca";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "kKo3ge2wcDK2xU1YCfEwyqw84N+3jcbOEEsJHSpMpzY=";
|
sha256 = "OkYVjdvi8ls01DaIiDEPFXFCUh6g9AEeSlbDFfdPKeo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -582,8 +582,8 @@ let
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "catppuccin-vsc";
|
name = "catppuccin-vsc";
|
||||||
publisher = "catppuccin";
|
publisher = "catppuccin";
|
||||||
version = "2.1.0";
|
version = "2.2.1";
|
||||||
sha256 = "sha256-1pX9NQxW2Rm9p912Pn7QmLmXPI7EmiXTnCLWsIQNFhY=";
|
sha256 = "sha256-vS+hz3RxG71F5QoO4LQOgOgFh6GQ8QX/+4mMD0KC1kA=";
|
||||||
};
|
};
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Soothing pastel theme for VSCode";
|
description = "Soothing pastel theme for VSCode";
|
||||||
|
@ -1731,8 +1731,8 @@ let
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "direnv";
|
name = "direnv";
|
||||||
publisher = "mkhl";
|
publisher = "mkhl";
|
||||||
version = "0.6.1";
|
version = "0.7.0";
|
||||||
sha256 = "sha256-5/Tqpn/7byl+z2ATflgKV1+rhdqj+XMEZNbGwDmGwLQ=";
|
sha256 = "sha256-MLBPhDBU8vPVvbde3fdwhxKvQa8orUMKAAXoOfNrbh4=";
|
||||||
};
|
};
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "direnv support for Visual Studio Code";
|
description = "direnv support for Visual Studio Code";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, xlibsWrapper
|
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, imagemagick
|
, imagemagick
|
||||||
, libXpm
|
, libXpm
|
||||||
|
@ -25,7 +24,6 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ imagemagick makeWrapper ];
|
nativeBuildInputs = [ imagemagick makeWrapper ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
xlibsWrapper
|
|
||||||
libXpm
|
libXpm
|
||||||
libXmu
|
libXmu
|
||||||
libXi
|
libXi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, xlibsWrapper, xorg }:
|
{ lib, stdenv, fetchFromGitHub, xorg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xmountains";
|
pname = "xmountains";
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0dx4n2y736lv04sj41cp1dw8n5zkw5gyd946a6zsiv0k796s9ra9";
|
sha256 = "0dx4n2y736lv04sj41cp1dw8n5zkw5gyd946a6zsiv0k796s9ra9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ xlibsWrapper xorg.xbitmaps ];
|
buildInputs = [ xorg.xbitmaps xorg.libX11 ];
|
||||||
nativeBuildInputs = with xorg; [ imake gccmakedep ];
|
nativeBuildInputs = with xorg; [ imake gccmakedep ];
|
||||||
|
|
||||||
installPhase = "install -Dm755 xmountains -t $out/bin";
|
installPhase = "install -Dm755 xmountains -t $out/bin";
|
||||||
|
|
|
@ -18,13 +18,13 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "mediaelch";
|
pname = "mediaelch";
|
||||||
version = "2.8.16";
|
version = "2.8.18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Komet";
|
owner = "Komet";
|
||||||
repo = "MediaElch";
|
repo = "MediaElch";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-83bHfIRVAC+3RkCYmV+TBjjQxaFMHfVyxt5Jq44dzeI=";
|
sha256 = "sha256-9kwU9j8YNF/OmzrQaRAlBpW+t/tIpZJw5+pfEoTmCBA=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -120,13 +120,13 @@
|
||||||
"version": "2.30.0"
|
"version": "2.30.0"
|
||||||
},
|
},
|
||||||
"azurerm": {
|
"azurerm": {
|
||||||
"hash": "sha256-W86RutsTsOi7bH1kJleaf6K1a91caDJTcXxsBn9gkmk=",
|
"hash": "sha256-TOm7e3yLTsmWCIDHklUncCjI5vbd0u/HWH/koOL95u4=",
|
||||||
"owner": "hashicorp",
|
"owner": "hashicorp",
|
||||||
"provider-source-address": "registry.terraform.io/hashicorp/azurerm",
|
"provider-source-address": "registry.terraform.io/hashicorp/azurerm",
|
||||||
"repo": "terraform-provider-azurerm",
|
"repo": "terraform-provider-azurerm",
|
||||||
"rev": "v3.29.0",
|
"rev": "v3.29.1",
|
||||||
"vendorHash": null,
|
"vendorHash": null,
|
||||||
"version": "3.29.0"
|
"version": "3.29.1"
|
||||||
},
|
},
|
||||||
"azurestack": {
|
"azurestack": {
|
||||||
"hash": "sha256-aSwVa7y1AJ6sExx+bO/93oLBNgSBDJjuPYPY8i3C9T0=",
|
"hash": "sha256-aSwVa7y1AJ6sExx+bO/93oLBNgSBDJjuPYPY8i3C9T0=",
|
||||||
|
@ -804,13 +804,13 @@
|
||||||
"version": "1.12.8"
|
"version": "1.12.8"
|
||||||
},
|
},
|
||||||
"nsxt": {
|
"nsxt": {
|
||||||
"hash": "sha256-oXcT1VmwC9a+U0vM5O9y2As2PbzPr95LrUB6KlFKcMc=",
|
"hash": "sha256-TOoRtCKdR1fBjk39dbMgBd7pDJGfjvkQAqfpJzWRwRg=",
|
||||||
"owner": "vmware",
|
"owner": "vmware",
|
||||||
"provider-source-address": "registry.terraform.io/vmware/nsxt",
|
"provider-source-address": "registry.terraform.io/vmware/nsxt",
|
||||||
"repo": "terraform-provider-nsxt",
|
"repo": "terraform-provider-nsxt",
|
||||||
"rev": "v3.2.8",
|
"rev": "v3.2.9",
|
||||||
"vendorHash": null,
|
"vendorHash": null,
|
||||||
"version": "3.2.8"
|
"version": "3.2.9"
|
||||||
},
|
},
|
||||||
"null": {
|
"null": {
|
||||||
"hash": "sha256-2YM3btZInUlIwp1VkasuugZZ8FervpRviUlx60vhVak=",
|
"hash": "sha256-2YM3btZInUlIwp1VkasuugZZ8FervpRviUlx60vhVak=",
|
||||||
|
@ -841,13 +841,13 @@
|
||||||
"version": "4.96.0"
|
"version": "4.96.0"
|
||||||
},
|
},
|
||||||
"okta": {
|
"okta": {
|
||||||
"hash": "sha256-yUWz6JiejI36QXSzGj36Pzu8/exK4U/DXCdbToSeCrE=",
|
"hash": "sha256-COGXHUjXYGB2QDY0iBG+MvNcxGy87vpGIerQU2XXEmw=",
|
||||||
"owner": "okta",
|
"owner": "okta",
|
||||||
"provider-source-address": "registry.terraform.io/okta/okta",
|
"provider-source-address": "registry.terraform.io/okta/okta",
|
||||||
"repo": "terraform-provider-okta",
|
"repo": "terraform-provider-okta",
|
||||||
"rev": "v3.37.0",
|
"rev": "v3.38.0",
|
||||||
"vendorHash": "sha256-qAnMwxTvvds3pOarRTWWVQqOCJKd0wSH2LZoPl4n2uA=",
|
"vendorHash": "sha256-iGQ3JPJ78Qhj+izR8D4H5oWGq4fF5lXuNHQCmpr7zFE=",
|
||||||
"version": "3.37.0"
|
"version": "3.38.0"
|
||||||
},
|
},
|
||||||
"oktaasa": {
|
"oktaasa": {
|
||||||
"hash": "sha256-2LhxgowqKvDDDOwdznusL52p2DKP+UiXALHcs9ZQd0U=",
|
"hash": "sha256-2LhxgowqKvDDDOwdznusL52p2DKP+UiXALHcs9ZQd0U=",
|
||||||
|
@ -1039,13 +1039,13 @@
|
||||||
"version": "1.7.10"
|
"version": "1.7.10"
|
||||||
},
|
},
|
||||||
"signalfx": {
|
"signalfx": {
|
||||||
"hash": "sha256-ke/35QtsYNW+6HVjBrx6hQ+CO2zhZsVLlryWTgI1vRE=",
|
"hash": "sha256-alLC61bEaFiVtoH0Fczj7G0m70ie1RNvTBR+MgYZGkQ=",
|
||||||
"owner": "splunk-terraform",
|
"owner": "splunk-terraform",
|
||||||
"provider-source-address": "registry.terraform.io/splunk-terraform/signalfx",
|
"provider-source-address": "registry.terraform.io/splunk-terraform/signalfx",
|
||||||
"repo": "terraform-provider-signalfx",
|
"repo": "terraform-provider-signalfx",
|
||||||
"rev": "v6.17.0",
|
"rev": "v6.18.0",
|
||||||
"vendorHash": "sha256-hxYQF1sZOS5x6sZtUJg13A6SPZG6Ql20vAs8VDQegqQ=",
|
"vendorHash": "sha256-ESUNfkllwkS1NcAD30tO90VQcHR5XhdIeyXXHmU/byc=",
|
||||||
"version": "6.17.0"
|
"version": "6.18.0"
|
||||||
},
|
},
|
||||||
"skytap": {
|
"skytap": {
|
||||||
"hash": "sha256-EAimiuQJOt12baZSjDKI+c9UjJd8e26ouOAZIZezw/I=",
|
"hash": "sha256-EAimiuQJOt12baZSjDKI+c9UjJd8e26ouOAZIZezw/I=",
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnuastro";
|
pname = "gnuastro";
|
||||||
version = "0.18";
|
version = "0.19";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz";
|
url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz";
|
||||||
sha256 = "sha256-bKfiLhQFERdMbwL9+UitCL8/dB/k6YKNjBzfKnCtWec=";
|
sha256 = "sha256-4bPNW0sSb/J34vSOit8BA9Z/wK0Hz5o9OqfgVSlDDjU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ libtool ];
|
nativeBuildInputs = [ libtool ];
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
, readline
|
, readline
|
||||||
, shared-mime-info
|
, shared-mime-info
|
||||||
, xine-lib
|
, xine-lib
|
||||||
, xlibsWrapper
|
|
||||||
, xorg
|
, xorg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -47,7 +46,6 @@ stdenv.mkDerivation rec {
|
||||||
ncurses
|
ncurses
|
||||||
readline
|
readline
|
||||||
xine-lib
|
xine-lib
|
||||||
xlibsWrapper
|
|
||||||
] ++ (with xorg; [
|
] ++ (with xorg; [
|
||||||
libXext
|
libXext
|
||||||
libXft
|
libXft
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
, libtirpc
|
, libtirpc
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, substituteAll
|
, substituteAll
|
||||||
|
, removeReferencesTo
|
||||||
, go
|
, go
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -86,7 +87,7 @@ stdenv.mkDerivation rec {
|
||||||
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
|
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
|
||||||
NIX_LDFLAGS = [ "-L${libtirpc.dev}/lib" "-ltirpc" ];
|
NIX_LDFLAGS = [ "-L${libtirpc.dev}/lib" "-ltirpc" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config go rpcsvc-proto makeWrapper ];
|
nativeBuildInputs = [ pkg-config go rpcsvc-proto makeWrapper removeReferencesTo ];
|
||||||
|
|
||||||
buildInputs = [ libelf libcap libseccomp libtirpc ];
|
buildInputs = [ libelf libcap libseccomp libtirpc ];
|
||||||
|
|
||||||
|
@ -105,8 +106,10 @@ stdenv.mkDerivation rec {
|
||||||
libraryPath = lib.makeLibraryPath [ "$out" driverLink "${driverLink}-32" ];
|
libraryPath = lib.makeLibraryPath [ "$out" driverLink "${driverLink}-32" ];
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
|
remove-references-to -t "${go}" $out/lib/libnvidia-container-go.so.1.9.0
|
||||||
wrapProgram $out/bin/nvidia-container-cli --prefix LD_LIBRARY_PATH : ${libraryPath}
|
wrapProgram $out/bin/nvidia-container-cli --prefix LD_LIBRARY_PATH : ${libraryPath}
|
||||||
'';
|
'';
|
||||||
|
disallowedReferences = [ go ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/NVIDIA/libnvidia-container";
|
homepage = "https://github.com/NVIDIA/libnvidia-container";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, xlibsWrapper, lua, gettext, groff }:
|
{ lib, stdenv, fetchurl, lua, gettext, groff, libICE, libSM, libX11, libXext }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ion";
|
pname = "ion";
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
|
sha256 = "1nkks5a95986nyfkxvg2rik6zmwx0lh7szd5fji7yizccwzc9xns";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ xlibsWrapper lua gettext groff ];
|
buildInputs = [ libICE libSM libX11 libXext lua gettext groff ];
|
||||||
|
|
||||||
buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" "PREFIX=\${out}" ];
|
buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" "PREFIX=\${out}" ];
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ buildPythonPackage rec {
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonRelaxDeps = [ "semantic-version" ];
|
pythonRelaxDeps = [ "asttokens" "semantic-version" ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
asttokens
|
asttokens
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rtree";
|
pname = "rtree";
|
||||||
version = "1.0.0";
|
version = "1.0.1";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "Rtree";
|
pname = "Rtree";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "sha256-0Eg0ghITRrCTuaQlGNQPkhrfRFkVt66jB+smdoyDloI=";
|
sha256 = "sha256-IiEhaZwwOmQGXYSb9wOLHsq8N7Zcf6NAvts47w6AVCk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "async-upnp-client";
|
pname = "async-upnp-client";
|
||||||
version = "0.32.0";
|
version = "0.32.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
owner = "StevenLooman";
|
owner = "StevenLooman";
|
||||||
repo = "async_upnp_client";
|
repo = "async_upnp_client";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-pVeVn2Z+onRjG3bIeRl5dXoNPwAWtarV56PL/CQOQUA=";
|
sha256 = "sha256-T/8AZU95eHl/AIVkG9tYhN19B8PLvTWRTBRJjbvfI+8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "awscrt";
|
pname = "awscrt";
|
||||||
version = "0.14.7";
|
version = "0.15.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-59bwgjT3zFYx4q8G5Bi5RMUSQCVIlupu7rtycgXNXtg=";
|
hash = "sha256-2VBdad9NL19eW2Djot2gkynyjSCUvG4f0KnEub6M0vg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
|
51
pkgs/development/python-modules/dlms-cosem/default.nix
Normal file
51
pkgs/development/python-modules/dlms-cosem/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{ lib
|
||||||
|
, asn1crypto
|
||||||
|
, attrs
|
||||||
|
, buildPythonPackage
|
||||||
|
, cryptography
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pyserial
|
||||||
|
, pytestCheckHook
|
||||||
|
, python-dateutil
|
||||||
|
, pythonOlder
|
||||||
|
, typing-extensions
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dlms-cosem";
|
||||||
|
version = "21.3.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pwitab";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
sha256 = "sha256-BrLanP+SIRRof15yzqwcDOxw92phbW7m9CfORz0xo7I=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
asn1crypto
|
||||||
|
attrs
|
||||||
|
cryptography
|
||||||
|
pyserial
|
||||||
|
python-dateutil
|
||||||
|
typing-extensions
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"dlms_cosem"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to parse DLMS/COSEM";
|
||||||
|
homepage = "https://github.com/pwitab/dlms-cosem";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, dlms-cosem
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pyserial
|
, pyserial
|
||||||
, pyserial-asyncio
|
, pyserial-asyncio
|
||||||
|
@ -11,7 +12,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dsmr-parser";
|
pname = "dsmr-parser";
|
||||||
version = "0.33";
|
version = "0.34";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -20,10 +21,11 @@ buildPythonPackage rec {
|
||||||
owner = "ndokter";
|
owner = "ndokter";
|
||||||
repo = "dsmr_parser";
|
repo = "dsmr_parser";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Phx8Yqx6beTzkQv0fU8Pfs2btPgKVARdO+nMcne1S+w=";
|
sha256 = "sha256-GO+lSgTmFgi/ljt99mteoot+p5BJnGb6ZFky5I3I6Io=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
dlms-cosem
|
||||||
pyserial
|
pyserial
|
||||||
pyserial-asyncio
|
pyserial-asyncio
|
||||||
pytz
|
pytz
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fiona";
|
pname = "fiona";
|
||||||
version = "1.8.21";
|
version = "1.8.22";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "Fiona";
|
pname = "Fiona";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "sha256-Og7coqegcNtAXXEYchSkPSMzpXtAl1RKP8woIGali/w=";
|
sha256 = "sha256-qCqZzps+eCV0AVfEXJ+yJZ1OkvCohqqsJfDbQP/h7qM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
|
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flake8-bugbear";
|
pname = "flake8-bugbear";
|
||||||
version = "22.10.25";
|
version = "22.10.27";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||||
owner = "PyCQA";
|
owner = "PyCQA";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-+eE9MY1k9JN0l3g8/wWOfbhkoSZLYG+wPKvl63R1n3o=";
|
hash = "sha256-pzVzCEkndbesX3tzuuPqtpEmCd5/bSuQmJ2J2IPFRMk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "glcontext";
|
pname = "glcontext";
|
||||||
version = "2.3.6";
|
version = "2.3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "moderngl";
|
owner = "moderngl";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-fE1fyoKQz1jmTBcAz2CbkLjRfgN5QedpMOLMU8keIZs=";
|
sha256 = "sha256-U/oP9nx7iTK6EYbUl90UD7fTOo5oDlh9ULPNjRibsXE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-container";
|
pname = "google-cloud-container";
|
||||||
version = "2.12.2";
|
version = "2.13.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-GnA60NjGi33i9P5D8IItQjLKlLirJITyijrGQROQHvM=";
|
hash = "sha256-Rq4DuCbXX4DSIr01AFYo0O4+wQv4B5yzrrX9a2ecAFI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "growattserver";
|
pname = "growattserver";
|
||||||
version = "1.2.2";
|
version = "1.2.3";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -15,8 +15,8 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "indykoning";
|
owner = "indykoning";
|
||||||
repo = "PyPi_GrowattServer";
|
repo = "PyPi_GrowattServer";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-dS5Ng89aYzfegdFlyt1eo7vhva2ME77pQV2hkd/iNq8=";
|
hash = "sha256-79/siHqwY3TNFIxodR24TJwsrKapG1GP4u4fIKxdFI4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -3,18 +3,21 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "immutabledict";
|
pname = "immutabledict";
|
||||||
version = "2.2.1";
|
version = "2.2.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "corenting";
|
owner = "corenting";
|
||||||
repo = "immutabledict";
|
repo = "immutabledict";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-z04xxoCw0eBtkt++y/1yUsAPaLlAGUtWBdRBM74ul1c=";
|
hash = "sha256-YqUxkpFl2G/LFLtFWqocXbFvgVhqqiquoWNIIO9c/6o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -36,4 +39,3 @@ buildPythonPackage rec {
|
||||||
maintainers = with maintainers; [ hexa ];
|
maintainers = with maintainers; [ hexa ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "influxdb-client";
|
pname = "influxdb-client";
|
||||||
version = "1.33.0";
|
version = "1.34.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||||
owner = "influxdata";
|
owner = "influxdata";
|
||||||
repo = "influxdb-client-python";
|
repo = "influxdb-client-python";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-RhUIdIwLYJwlpLtyrXO9GCvKY6OLDJl7Aop5acgTHN0=";
|
hash = "sha256-Bswlrfh9lBobZDA4Rt/02jMER5IrZ6b3ykpbklCFhUE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -1,31 +1,38 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
|
||||||
, cmake
|
, cmake
|
||||||
|
, cvxopt
|
||||||
|
, fetchPypi
|
||||||
, future
|
, future
|
||||||
, numpy
|
, numpy
|
||||||
, qdldl
|
|
||||||
, setuptools-scm
|
|
||||||
, scipy
|
|
||||||
# check inputs
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, cvxopt
|
, pythonOlder
|
||||||
|
, qdldl
|
||||||
|
, scipy
|
||||||
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "osqp";
|
pname = "osqp";
|
||||||
version = "0.6.2.post5";
|
version = "0.6.2.post5";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b2fa17aae42a7ed498ec261b33f262bb4b3605e7e8464062159d9fae817f0d61";
|
hash = "sha256-svoXquQqftSY7CYbM/Jiu0s2BefoRkBiFZ2froF/DWE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake setuptools-scm ];
|
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
future
|
future
|
||||||
numpy
|
numpy
|
||||||
|
@ -33,10 +40,39 @@ buildPythonPackage rec {
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "osqp" ];
|
checkInputs = [
|
||||||
checkInputs = [ pytestCheckHook cvxopt ];
|
cvxopt
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"osqp"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"mkl_"
|
# Test are failing due to scipy update (removal of scipy.random in 1.9.0)
|
||||||
|
# Is fixed upstream but requires a new release
|
||||||
|
"test_feasibility_problem"
|
||||||
|
"test_issue14"
|
||||||
|
"test_polish_random"
|
||||||
|
"test_polish_unconstrained"
|
||||||
|
"test_primal_and_dual_infeasible_problem"
|
||||||
|
"test_primal_infeasible_problem"
|
||||||
|
"test_solve"
|
||||||
|
"test_unconstrained_problem"
|
||||||
|
"test_update_A_allind"
|
||||||
|
"test_update_A"
|
||||||
|
"test_update_bounds"
|
||||||
|
"test_update_l"
|
||||||
|
"test_update_P_A_allind"
|
||||||
|
"test_update_P_A_indA"
|
||||||
|
"test_update_P_A_indP_indA"
|
||||||
|
"test_update_P_A_indP"
|
||||||
|
"test_update_P_allind"
|
||||||
|
"test_update_P"
|
||||||
|
"test_update_q"
|
||||||
|
"test_update_u"
|
||||||
|
"test_warm_start"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyeight";
|
pname = "pyeight";
|
||||||
version = "0.3.1";
|
version = "0.3.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||||
owner = "mezz64";
|
owner = "mezz64";
|
||||||
repo = "pyEight";
|
repo = "pyEight";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-vW64m8XQZ9XfgjlZph47JFyOsxWtCbIJZBZVwsTrjLs=";
|
sha256 = "sha256-JYmhEZQw11qPNV2jZhP+0VFb387kNom70R3C13PM7kc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -10,12 +10,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "stevedore";
|
pname = "stevedore";
|
||||||
version = "4.0.0";
|
version = "4.0.1";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-+CzJmh/1UjENGcN5gnwsZN2fhaOLzVVZ2yRwFhhnt4Y=";
|
sha256 = "sha256-miMRGm5hInDFkf0x/zMhxrXz1fPauxQnMXpatgj8Jho=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zeroconf";
|
pname = "zeroconf";
|
||||||
version = "0.39.1";
|
version = "0.39.3";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||||
owner = "jstasiak";
|
owner = "jstasiak";
|
||||||
repo = "python-zeroconf";
|
repo = "python-zeroconf";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-fIp1RLf6qpo9s5fdgFt7yid6M/Sf3hmm8MZikjCiCu0=";
|
hash = "sha256-bzD8i97m6iHsHiGJHlyRuhtKBqQiAb6YEOglIIGn2no=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchsvn, imake, bison, flex, xlibsWrapper, libXaw, libXpm, ... }:
|
{ lib, stdenv, fetchsvn, imake, bison, flex, xorg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xspim";
|
pname = "xspim";
|
||||||
|
@ -11,7 +11,16 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ imake bison flex ];
|
nativeBuildInputs = [ imake bison flex ];
|
||||||
buildInputs = [ xlibsWrapper libXaw libXpm ];
|
buildInputs = [
|
||||||
|
xorg.libICE
|
||||||
|
xorg.libSM
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXaw
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXmu
|
||||||
|
xorg.libXpm
|
||||||
|
xorg.libXt
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cd xspim
|
cd xspim
|
||||||
|
|
|
@ -1,4 +1,14 @@
|
||||||
{ lib, stdenv, fetchurl, imake, xlibsWrapper, gccmakedep, libXaw }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, imake
|
||||||
|
, gccmakedep
|
||||||
|
, libX11
|
||||||
|
, libXaw
|
||||||
|
, libXext
|
||||||
|
, libXmu
|
||||||
|
, libXt
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xxgdb";
|
pname = "xxgdb";
|
||||||
|
@ -15,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ imake gccmakedep ];
|
nativeBuildInputs = [ imake gccmakedep ];
|
||||||
buildInputs = [ xlibsWrapper libXaw ];
|
buildInputs = [ libX11 libXaw libXext libXmu libXt ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "symfony-cli";
|
pname = "symfony-cli";
|
||||||
version = "5.4.16";
|
version = "5.4.17";
|
||||||
vendorSha256 = "sha256-A0Dq5QoKSFDpif8x27a1O8CGZ9s5PzOycvPfvEp4qn4=";
|
vendorSha256 = "sha256-hIi+WmLxCTFbu8E++CJkp4bOUrK81PkojRk60SljVik=";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "symfony-cli";
|
owner = "symfony-cli";
|
||||||
repo = "symfony-cli";
|
repo = "symfony-cli";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-dKt7hM04gDQtpGwDSppDmJqr2uEb77tke4YJYbXMCgU=";
|
sha256 = "sha256-cOO8U0/PnH19/oaK9wM/mPplC+VTIkF5+RXdjWJyxqc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, perl
|
, perl
|
||||||
, expat
|
, expat
|
||||||
, xlibsWrapper
|
, fontconfig
|
||||||
, freetype
|
, freetype
|
||||||
|
, xorg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# !!! assert freetype == xorg.freetype
|
# !!! assert freetype == xorg.freetype
|
||||||
|
@ -18,7 +19,17 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-8pZ/HAVV341K6QRDUC0UzzO2rGW2AvSZ++Pp445V27w=";
|
hash = "sha256-8pZ/HAVV341K6QRDUC0UzzO2rGW2AvSZ++Pp445V27w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl expat xlibsWrapper freetype ];
|
buildInputs = [
|
||||||
|
perl
|
||||||
|
expat
|
||||||
|
fontconfig
|
||||||
|
freetype
|
||||||
|
xorg.libICE
|
||||||
|
xorg.libSM
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXrender
|
||||||
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline";
|
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline";
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, autoconf
|
, autoconf
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, xlibsWrapper
|
, libX11
|
||||||
, libXext
|
, libXext
|
||||||
, libGLU
|
, libGLU
|
||||||
, libGL
|
, libGL
|
||||||
|
@ -22,14 +22,13 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf pkg-config ];
|
nativeBuildInputs = [ autoconf pkg-config ];
|
||||||
buildInputs = [ libGLU libGL xlibsWrapper imagemagick6 libtiff bzip2 ];
|
buildInputs = [ libGLU libGL libX11 libXext imagemagick6 libtiff bzip2 ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./cstddef.patch
|
./cstddef.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${imagemagick6.dev}/include/ImageMagick";
|
NIX_CFLAGS_COMPILE = "-I${imagemagick6.dev}/include/ImageMagick";
|
||||||
NIX_LDFLAGS= "-rpath ${libXext}/lib";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Really Slick Screensavers Port to GLX";
|
description = "Really Slick Screensavers Port to GLX";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, python2, pkg-config, xlibsWrapper, pam }:
|
{ lib, stdenv, fetchFromGitHub, python2, pkg-config, pam, xorg }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "xtrlock-pam";
|
pname = "xtrlock-pam";
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ python2 xlibsWrapper pam ];
|
buildInputs = [ python2 pam xorg.libX11 ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
|
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
|
||||||
|
|
|
@ -29,13 +29,13 @@ let
|
||||||
in
|
in
|
||||||
buildDotnetModule rec {
|
buildDotnetModule rec {
|
||||||
pname = "jellyfin";
|
pname = "jellyfin";
|
||||||
version = "10.8.5"; # ensure that jellyfin-web has matching version
|
version = "10.8.6"; # ensure that jellyfin-web has matching version
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jellyfin";
|
owner = "jellyfin";
|
||||||
repo = "jellyfin";
|
repo = "jellyfin";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "le6yNEK1k0U9ZnkqvBLCiLz0p3rK7jcet7xl/ym+L2g=";
|
sha256 = "nZt6/PdilKXK6Z/9NtoP3MnomduoRVkkJpbL70/MLTQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -11817,8 +11817,8 @@ let
|
||||||
args = {
|
args = {
|
||||||
name = "jellyfin-web";
|
name = "jellyfin-web";
|
||||||
packageName = "jellyfin-web";
|
packageName = "jellyfin-web";
|
||||||
version = "10.8.5";
|
version = "10.8.6";
|
||||||
src = ../../../../../../../../../nix/store/ab0b3ia5gcmwb7p5kz6dvw456qrdbz91-source;
|
src = ../../../../../../../nix/store/zk40h20vcx9jpz7kcc8fdcn5b9rbxs5p-source;
|
||||||
dependencies = [
|
dependencies = [
|
||||||
sources."@ampproject/remapping-2.1.2"
|
sources."@ampproject/remapping-2.1.2"
|
||||||
(sources."@apideck/better-ajv-errors-0.3.3" // {
|
(sources."@apideck/better-ajv-errors-0.3.3" // {
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jellyfin-web";
|
pname = "jellyfin-web";
|
||||||
version = "10.8.5";
|
version = "10.8.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jellyfin";
|
owner = "jellyfin";
|
||||||
repo = "jellyfin-web";
|
repo = "jellyfin-web";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "KNIxqZSTO1330KFW8y+4nVFiCM1KEEwEM0Vdei26gVI=";
|
sha256 = "6g00UjQyPaiimHNJBout/omyerqe2hCGChNkmojELOA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -6,21 +6,21 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
webconsoleVersion = "1.0.17";
|
webconsoleVersion = "1.0.18";
|
||||||
webconsoleDist = fetchzip {
|
webconsoleDist = fetchzip {
|
||||||
url = "https://github.com/codenotary/immudb-webconsole/releases/download/v${webconsoleVersion}/immudb-webconsole.tar.gz";
|
url = "https://github.com/codenotary/immudb-webconsole/releases/download/v${webconsoleVersion}/immudb-webconsole.tar.gz";
|
||||||
sha256 = "sha256-hFSvPwSRXyrSBYktTOwIRa1+aH+mX/scDYDokvZuW1s=";
|
sha256 = "sha256-4BhTK+gKO8HW1CelGa30THpfkqfqFthK+b7p9QWl4Pw=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "immudb";
|
pname = "immudb";
|
||||||
version = "1.3.2";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "codenotary";
|
owner = "codenotary";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-lcKjeqZeTQQMhVjnWNP3c+HanI/eenfUbpZJAo5FEkM=";
|
sha256 = "sha256-L8RvbMmq9DPJ2FvxlCE1KC8TRhmZA5CrzUPmr9JNy0Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
@ -29,9 +29,7 @@ buildGoModule rec {
|
||||||
go generate -tags webconsole ./webconsole
|
go generate -tags webconsole ./webconsole
|
||||||
'';
|
'';
|
||||||
|
|
||||||
proxyVendor = true; # check if this is needed anymore when updating
|
vendorSha256 = "sha256-k2OwwGjuyfM3QIRz+/DgGD0xUYor4TDmfBmcQOkcA3A=";
|
||||||
|
|
||||||
vendorSha256 = "sha256-gMpkV0XqY6wh7s0lndIdCoYlvVBrMk7/lvyDVqnJ66c=";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }:
|
{ lib, stdenv, fetchFromGitHub, libXi, xorgproto, autoconf, automake, libtool, m4, pkg-config, xorg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xinput_calibrator";
|
pname = "xinput_calibrator";
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
preConfigure = "./autogen.sh --with-gui=X11";
|
preConfigure = "./autogen.sh --with-gui=X11";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config autoconf automake ];
|
nativeBuildInputs = [ pkg-config autoconf automake ];
|
||||||
buildInputs = [ xorgproto libXi libtool m4 xlibsWrapper ];
|
buildInputs = [ xorgproto libXi libtool m4 xorg.libX11 xorg.libXext ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/tias/xinput_calibrator";
|
homepage = "https://github.com/tias/xinput_calibrator";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchbzr, xlibsWrapper }:
|
{ lib, stdenv, fetchbzr, xorg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xwinwrap";
|
pname = "xwinwrap";
|
||||||
|
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
xlibsWrapper
|
xorg.libX11
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXrender
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = if stdenv.hostPlatform.system == "x86_64-linux" then ''
|
buildPhase = if stdenv.hostPlatform.system == "x86_64-linux" then ''
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, imlib2
|
, imlib2
|
||||||
, xlibsWrapper
|
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, autoconf-archive
|
, autoconf-archive
|
||||||
|
, libX11
|
||||||
|
, libXext
|
||||||
, libXfixes
|
, libXfixes
|
||||||
, libXcomposite
|
, libXcomposite
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -30,7 +31,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
imlib2
|
imlib2
|
||||||
xlibsWrapper
|
libX11
|
||||||
|
libXext
|
||||||
libXfixes
|
libXfixes
|
||||||
libXcomposite
|
libXcomposite
|
||||||
libbsd
|
libbsd
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
|
|
||||||
resholve.mkDerivation rec {
|
resholve.mkDerivation rec {
|
||||||
pname = "arch-install-scripts";
|
pname = "arch-install-scripts";
|
||||||
version = "26";
|
version = "27";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "archlinux";
|
owner = "archlinux";
|
||||||
repo = "arch-install-scripts";
|
repo = "arch-install-scripts";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-TRo1ANKSt3njw4HdBMUymMJDpTkL/i5/hdSqxHZnuYw=";
|
hash = "sha256-owJImToG8GIk1TfkSKJyXCu9RTJ1qYlvQ6DTMSazaeQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ asciidoc gnum4 ];
|
nativeBuildInputs = [ asciidoc gnum4 ];
|
||||||
|
@ -64,6 +64,8 @@ resholve.mkDerivation rec {
|
||||||
# packages resholve should resolve executables from
|
# packages resholve should resolve executables from
|
||||||
inputs = [ coreutils gawk gnugrep pacman util-linux ];
|
inputs = [ coreutils gawk gnugrep pacman util-linux ];
|
||||||
|
|
||||||
|
execer = [ "cannot:${pacman}/bin/pacman-key" ];
|
||||||
|
|
||||||
# TODO: no good way to resolve mount/umount in Nix builds for now
|
# TODO: no good way to resolve mount/umount in Nix builds for now
|
||||||
# see https://github.com/abathur/resholve/issues/29
|
# see https://github.com/abathur/resholve/issues/29
|
||||||
fake = {
|
fake = {
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
|
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "diffoscope";
|
pname = "diffoscope";
|
||||||
version = "224";
|
version = "225";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
||||||
sha256 = "sha256-rbfXQJJjPZAtoYbrpJczR5Gft+SeGoo6xjZvgwI+l1g=";
|
sha256 = "sha256-nuQmvYpCSzw2kUj/UdcBpn6jabaVMYT47MDblzpb/o0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optional stdenv.hostPlatform.isWindows libgnurx;
|
++ lib.optional stdenv.hostPlatform.isWindows libgnurx;
|
||||||
|
|
||||||
# https://bugs.astron.com/view.php?id=382
|
# https://bugs.astron.com/view.php?id=382
|
||||||
doCheck = !stdenv.hostPlatform.isMusl;
|
doCheck = !stdenv.buildPlatform.isMusl;
|
||||||
|
|
||||||
makeFlags = lib.optional stdenv.hostPlatform.isWindows "FILE_COMPILE=file";
|
makeFlags = lib.optional stdenv.hostPlatform.isWindows "FILE_COMPILE=file";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, asciidoc
|
, asciidoc
|
||||||
, binutils
|
, binutils
|
||||||
, bzip2
|
|
||||||
, coreutils
|
, coreutils
|
||||||
, curl
|
, curl
|
||||||
, gnupg
|
, gnupg
|
||||||
|
@ -17,9 +16,19 @@
|
||||||
, openssl
|
, openssl
|
||||||
, perl
|
, perl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, xz
|
|
||||||
, zlib
|
, zlib
|
||||||
|
|
||||||
|
# Compression tools in scripts/libmakepkg/util/compress.sh.in
|
||||||
|
, gzip
|
||||||
|
, bzip2
|
||||||
|
, xz
|
||||||
|
, zstd
|
||||||
|
, lrzip
|
||||||
|
, lzop
|
||||||
|
, ncompress
|
||||||
|
, lz4
|
||||||
|
, lzip
|
||||||
|
|
||||||
# Tells pacman where to find ALPM hooks provided by packages.
|
# Tells pacman where to find ALPM hooks provided by packages.
|
||||||
# This path is very likely to be used in an Arch-like root.
|
# This path is very likely to be used in an Arch-like root.
|
||||||
, sysHookDir ? "/usr/share/libalpm/hooks/"
|
, sysHookDir ? "/usr/share/libalpm/hooks/"
|
||||||
|
@ -44,13 +53,11 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
bzip2
|
|
||||||
curl
|
curl
|
||||||
gpgme
|
gpgme
|
||||||
libarchive
|
libarchive
|
||||||
openssl
|
openssl
|
||||||
perl
|
perl
|
||||||
xz
|
|
||||||
zlib
|
zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -63,7 +70,18 @@ stdenv.mkDerivation rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = let compressionTools = [
|
||||||
|
gzip
|
||||||
|
bzip2
|
||||||
|
xz
|
||||||
|
zstd
|
||||||
|
lrzip
|
||||||
|
lzop
|
||||||
|
ncompress
|
||||||
|
lz4
|
||||||
|
lzip
|
||||||
|
]; in ''
|
||||||
|
echo 'export PATH=${lib.makeBinPath compressionTools}:$PATH' >> scripts/libmakepkg/util/compress.sh.in
|
||||||
substituteInPlace meson.build \
|
substituteInPlace meson.build \
|
||||||
--replace "install_dir : SYSCONFDIR" "install_dir : '$out/etc'" \
|
--replace "install_dir : SYSCONFDIR" "install_dir : '$out/etc'" \
|
||||||
--replace "join_paths(DATAROOTDIR, 'libalpm/hooks/')" "'${sysHookDir}'" \
|
--replace "join_paths(DATAROOTDIR, 'libalpm/hooks/')" "'${sysHookDir}'" \
|
||||||
|
@ -88,7 +106,7 @@ stdenv.mkDerivation rec {
|
||||||
wrapProgram $out/bin/makepkg \
|
wrapProgram $out/bin/makepkg \
|
||||||
--prefix PATH : ${lib.makeBinPath [ binutils ]}
|
--prefix PATH : ${lib.makeBinPath [ binutils ]}
|
||||||
wrapProgram $out/bin/pacman-key \
|
wrapProgram $out/bin/pacman-key \
|
||||||
--prefix PATH : ${lib.makeBinPath [ gnupg ]}
|
--prefix PATH : ${lib.makeBinPath [ "${placeholder "out"}" gnupg ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, fetchpatch
|
||||||
, lib
|
, lib
|
||||||
, darwin
|
, darwin
|
||||||
, git
|
, git
|
||||||
|
@ -36,6 +37,14 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "sha256-Y7iiZVIT9Vbe4YmTfGTU8p3H3odQKms2FBnnWgvF7mI=";
|
cargoSha256 = "sha256-Y7iiZVIT9Vbe4YmTfGTU8p3H3odQKms2FBnnWgvF7mI=";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch
|
||||||
|
{ url = "https://gitlab.com/sequoia-pgp/sequoia/-/commit/7916f90421ecb9a75e32f0284459bcc9a3fd02b0.patch";
|
||||||
|
sha256 = "sha256-KBBn6XaGzIT0iVzoCYsS0N+OkZzGuWmUmIF2hl49FEI=";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
cargo
|
cargo
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "vale";
|
pname = "vale";
|
||||||
version = "2.20.2";
|
version = "2.21.0";
|
||||||
|
|
||||||
subPackages = [ "cmd/vale" ];
|
subPackages = [ "cmd/vale" ];
|
||||||
outputs = [ "out" "data" ];
|
outputs = [ "out" "data" ];
|
||||||
|
@ -11,7 +11,7 @@ buildGoModule rec {
|
||||||
owner = "errata-ai";
|
owner = "errata-ai";
|
||||||
repo = "vale";
|
repo = "vale";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-NQtpuFHHbZwrD9kwSppx7GvJ+Puj4awyN0mAbwlMH8Y=";
|
sha256 = "sha256-H+Hi9KS8gDAfXNqotHdkzWK1m8twOajC8kf/uLUEAv4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-ODzQkNOXEvSOhG6MoJbyxIwduFAW5FQb5hlOn3+io3A=";
|
vendorSha256 = "sha256-ODzQkNOXEvSOhG6MoJbyxIwduFAW5FQb5hlOn3+io3A=";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, zlib, pcre, xlibsWrapper, xorg, libjpeg, libtiff, libpng, gtk2, libpaper, makeWrapper, ghostscript }:
|
{ lib, stdenv, fetchurl, pkg-config, zlib, pcre, xorg, libjpeg, libtiff, libpng, gtk2, libpaper, makeWrapper, ghostscript }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ted";
|
pname = "ted";
|
||||||
|
@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config makeWrapper ];
|
nativeBuildInputs = [ pkg-config makeWrapper ];
|
||||||
buildInputs = [ zlib pcre xlibsWrapper xorg.libXpm libjpeg libtiff libpng gtk2 libpaper ];
|
buildInputs = [ zlib pcre xorg.libX11 xorg.libICE xorg.libSM xorg.libXpm libjpeg libtiff libpng gtk2 libpaper ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An easy rich text processor";
|
description = "An easy rich text processor";
|
||||||
|
|
|
@ -2620,6 +2620,8 @@ self: super: with self; {
|
||||||
|
|
||||||
dlinfo = callPackage ../development/python-modules/dlinfo { };
|
dlinfo = callPackage ../development/python-modules/dlinfo { };
|
||||||
|
|
||||||
|
dlms-cosem = callPackage ../development/python-modules/dlms-cosem { };
|
||||||
|
|
||||||
dlx = callPackage ../development/python-modules/dlx { };
|
dlx = callPackage ../development/python-modules/dlx { };
|
||||||
|
|
||||||
dmenu-python = callPackage ../development/python-modules/dmenu { };
|
dmenu-python = callPackage ../development/python-modules/dmenu { };
|
||||||
|
|
Loading…
Reference in a new issue