Merge master into staging-next
This commit is contained in:
commit
cf671bd5e9
25 changed files with 296 additions and 81 deletions
|
@ -896,7 +896,7 @@ in
|
||||||
PrivateMounts = true;
|
PrivateMounts = true;
|
||||||
# System Call Filtering
|
# System Call Filtering
|
||||||
SystemCallArchitectures = "native";
|
SystemCallArchitectures = "native";
|
||||||
SystemCallFilter = "~@cpu-emulation @debug @keyring @ipc @mount @obsolete @privileged @setuid";
|
SystemCallFilter = "~@cpu-emulation @debug @keyring @ipc @mount @obsolete @privileged @setuid @mincore";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, libX11
|
, libX11
|
||||||
, libXrandr
|
, libXrandr
|
||||||
|
, AppKit
|
||||||
, withSki ? true
|
, withSki ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -25,7 +26,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
nativeBuildInputs = [ installShellFiles ]
|
nativeBuildInputs = [ installShellFiles ]
|
||||||
++ lib.optional stdenv.isLinux pkg-config;
|
++ lib.optional stdenv.isLinux pkg-config;
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isLinux [ libX11 libXrandr ];
|
buildInputs = lib.optionals stdenv.isLinux [ libX11 libXrandr ]
|
||||||
|
++ lib.optional stdenv.isDarwin AppKit;
|
||||||
|
|
||||||
buildNoDefaultFeatures = !withSki;
|
buildNoDefaultFeatures = !withSki;
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,50 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook,
|
{ lib
|
||||||
glib, gtk3, pcsclite, lua5_2, curl, readline }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, autoreconfHook
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, pcsclite
|
||||||
|
, lua5_2
|
||||||
|
, curl
|
||||||
|
, readline
|
||||||
|
, PCSC
|
||||||
|
, xcbuild
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
version = "0.8.4";
|
version = "0.8.4";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "cardpeek";
|
pname = "cardpeek";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "L1L1";
|
owner = "L1L1";
|
||||||
repo = "cardpeek";
|
repo = "cardpeek";
|
||||||
rev = "cardpeek-${version}";
|
rev = "cardpeek-${version}";
|
||||||
sha256 = "1ighpl7nvcvwnsd6r5h5n9p95kclwrq99hq7bry7s53yr57l6588";
|
sha256 = "1ighpl7nvcvwnsd6r5h5n9p95kclwrq99hq7bry7s53yr57l6588";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||||
buildInputs = [ glib gtk3 pcsclite lua5_2 curl readline ];
|
# replace xcode check and hard-coded PCSC framework path
|
||||||
|
substituteInPlace configure.ac \
|
||||||
|
--replace 'if test ! -e "/Applications/Xcode.app/"; then' 'if test yes != yes; then' \
|
||||||
|
--replace 'PCSC_HEADERS=`ls -d /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/*.sdk/System/Library/Frameworks/PCSC.framework/Versions/Current/Headers/ | sort | head -1`' 'PCSC_HEADERS=${PCSC}/Library/Frameworks/PCSC.framework/Headers'
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||||
|
buildInputs = [ glib gtk3 lua5_2 curl readline ]
|
||||||
|
++ lib.optional stdenv.isDarwin PCSC
|
||||||
|
++ lib.optional stdenv.isLinux pcsclite;
|
||||||
|
|
||||||
meta = with lib; {
|
enableParallelBuilding = true;
|
||||||
homepage = "https://github.com/L1L1/cardpeek";
|
|
||||||
description = "A tool to read the contents of ISO7816 smart cards";
|
meta = with lib; {
|
||||||
license = licenses.gpl3Plus;
|
homepage = "https://github.com/L1L1/cardpeek";
|
||||||
platforms = with platforms; linux ++ darwin;
|
description = "A tool to read the contents of ISO7816 smart cards";
|
||||||
maintainers = with maintainers; [ embr ];
|
license = licenses.gpl3Plus;
|
||||||
};
|
platforms = with platforms; linux ++ darwin;
|
||||||
}
|
maintainers = with maintainers; [ embr ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -7,8 +7,8 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
srcVersion = "sep20a";
|
srcVersion = "nov21a";
|
||||||
version = "20200901_a";
|
version = "20211101_a";
|
||||||
pname = "gildas";
|
pname = "gildas";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
# source code of the previous release to a different directory
|
# source code of the previous release to a different directory
|
||||||
urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz"
|
urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz"
|
||||||
"http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ];
|
"http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ];
|
||||||
sha256 = "9faa0b3e674b5ffe5b1aee88027d7401a46ae28cd0b306595300547605d6222a";
|
sha256 = "0fb6iqwh4hm7v7sib7sx98vxdavn3d6q2gq6y6vxg2z29g31f8g2";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config groff perl getopt gfortran which ];
|
nativeBuildInputs = [ pkg-config groff perl getopt gfortran which ];
|
||||||
|
|
|
@ -33,11 +33,15 @@ stdenv.mkDerivation rec {
|
||||||
./no-usr-local-search-paths.patch
|
./no-usr-local-search-paths.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Test of the examples for package 'tcltk' fails in Darwin sandbox. See:
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/146131
|
||||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
prePatch = lib.optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace configure \
|
substituteInPlace configure \
|
||||||
--replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib" \
|
--replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib" \
|
||||||
--replace "-install_name libRlapack.dylib" "-install_name $out/lib/R/lib/libRlapack.dylib" \
|
--replace "-install_name libRlapack.dylib" "-install_name $out/lib/R/lib/libRlapack.dylib" \
|
||||||
--replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"
|
--replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"
|
||||||
|
substituteInPlace tests/Examples/Makefile.in \
|
||||||
|
--replace "test-Examples: test-Examples-Base" "test-Examples:" # do not test the examples
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontDisableStatic = static;
|
dontDisableStatic = static;
|
||||||
|
|
|
@ -21,13 +21,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "igraph";
|
pname = "igraph";
|
||||||
version = "0.9.4";
|
version = "0.9.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "igraph";
|
owner = "igraph";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-tF+cnJRv125bSpZIpABTIHAfJO4TNfSBHjnzpNTbFgk=";
|
sha256 = "sha256-R5v1nbfYyIOzdw7LmkGQE4yVxpTVs6YF62jkfFrA1z8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Normally, igraph wants us to call bootstrap.sh, which will call
|
# Normally, igraph wants us to call bootstrap.sh, which will call
|
||||||
|
|
|
@ -93,7 +93,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An open source toolkit for developing mapping applications";
|
description = "An open source toolkit for developing mapping applications";
|
||||||
homepage = "https://mapnik.org";
|
homepage = "https://mapnik.org";
|
||||||
maintainers = with maintainers; [ hrdinka ];
|
maintainers = with maintainers; [ hrdinka erictapen ];
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
# https://github.com/mapnik/mapnik/issues/4232
|
# https://github.com/mapnik/mapnik/issues/4232
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, cmake
|
, cmake
|
||||||
|
, IOKit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -16,6 +17,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config cmake ];
|
nativeBuildInputs = [ pkg-config cmake ];
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ IOKit ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Lightweight multi-platform CPU emulator library";
|
description = "Lightweight multi-platform CPU emulator library";
|
||||||
|
|
|
@ -1,39 +1,66 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, cython
|
, cython
|
||||||
, datamodeldict
|
, datamodeldict
|
||||||
|
, fetchFromGitHub
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, numericalunits
|
, numericalunits
|
||||||
, numpy
|
, numpy
|
||||||
, pandas
|
, pandas
|
||||||
|
, potentials
|
||||||
, pytest
|
, pytest
|
||||||
|
, pythonOlder
|
||||||
, scipy
|
, scipy
|
||||||
, toolz
|
, toolz
|
||||||
, xmltodict
|
, xmltodict
|
||||||
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.3.0";
|
version = "1.4.2";
|
||||||
pname = "atomman";
|
pname = "atomman";
|
||||||
disabled = isPy27;
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "usnistgov";
|
owner = "usnistgov";
|
||||||
repo = "atomman";
|
repo = "atomman";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "09pfykd96wmw00s3kgabghykjn8b4yjml4ybpi7kwy7ygdmzcx51";
|
sha256 = "sha256-Kq4mDykYf74ylWw2golxc81CYKGokXro64YUsFctLmk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits toolz ];
|
cython
|
||||||
|
datamodeldict
|
||||||
|
matplotlib
|
||||||
|
numericalunits
|
||||||
|
numpy
|
||||||
|
pandas
|
||||||
|
potentials
|
||||||
|
scipy
|
||||||
|
toolz
|
||||||
|
xmltodict
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test tests -k 'not test_atomic'
|
# pytestCheckHook doesn't work
|
||||||
|
py.test tests -k "not test_rootdir and not test_version \
|
||||||
|
and not test_atomic_mass and not imageflags"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"atomman"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/usnistgov/atomman/";
|
|
||||||
description = "Atomistic Manipulation Toolkit";
|
description = "Atomistic Manipulation Toolkit";
|
||||||
|
homepage = "https://github.com/usnistgov/atomman/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = with maintainers; [ costrouc ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
44
pkgs/development/python-modules/cdcs/default.nix
Normal file
44
pkgs/development/python-modules/cdcs/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, numpy
|
||||||
|
, pandas
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.1.5";
|
||||||
|
pname = "cdcs";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "usnistgov";
|
||||||
|
repo = "pycdcs";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0sd0s0mka2bvpxxiz98cjc2h5ncsb7d03af1q3w9w8pmvfsgj7pc";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
numpy
|
||||||
|
pandas
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
# Project has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"cdcs"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python client for performing REST calls to configurable data curation system (CDCS) databases";
|
||||||
|
homepage = "https://github.com/usnistgov/pycdcs";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -15,11 +15,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "clize";
|
pname = "clize";
|
||||||
version = "4.2.0";
|
version = "4.2.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "06p47i6hri006v7xbx7myj02as1a6f34rv88wfa9rb067p13nmyz";
|
sha256 = "3177a028e4169d8865c79af82bdd441b24311d4bd9c0ae8803641882d340a51d";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ buildPythonPackage, isPy3k, fetchFromGitHub, lib,
|
{ buildPythonPackage, isPy3k, fetchFromGitHub, lib,
|
||||||
z3, ply, python-igraph, oset, ordered-set, dictionaries, setuptools }:
|
z3, ply, igraph, oset, ordered-set, dictionaries, setuptools }:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
pname = "cozy";
|
pname = "cozy";
|
||||||
|
@ -7,7 +7,7 @@ buildPythonPackage {
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
setuptools z3 ply python-igraph oset ordered-set dictionaries
|
setuptools z3 ply igraph oset ordered-set dictionaries
|
||||||
];
|
];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, antlr4-python3-runtime, pygments, python-igraph }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, antlr4-python3-runtime
|
||||||
|
, igraph
|
||||||
|
, pygments
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "explorerscript";
|
pname = "explorerscript";
|
||||||
|
@ -11,7 +18,15 @@ buildPythonPackage rec {
|
||||||
sha256 = "1vzyliiyrxx8l9sfbqcyr4xn5swd7znkxy69kn0vb5rban8hm9c1";
|
sha256 = "1vzyliiyrxx8l9sfbqcyr4xn5swd7znkxy69kn0vb5rban8hm9c1";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ antlr4-python3-runtime python-igraph ];
|
patches = [
|
||||||
|
# https://github.com/SkyTemple/ExplorerScript/pull/17
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/SkyTemple/ExplorerScript/commit/47d8b3d246881d675a82b4049b87ed7d9a0e1b15.patch";
|
||||||
|
sha256 = "0sadw9l2nypl2s8lw526lvbdj4rzqdvrjncx4zxxgyp3x47csb48";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ antlr4-python3-runtime igraph ];
|
||||||
checkInputs = [ pygments ];
|
checkInputs = [ pygments ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-igraph";
|
pname = "python-igraph";
|
||||||
version = "0.9.6";
|
version = "0.9.8";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
owner = "igraph";
|
owner = "igraph";
|
||||||
repo = "python-igraph";
|
repo = "python-igraph";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-x/BUlMmSgjY2v6bVKPxmz86OCz6xgRUcfSqI3vV9MPs=";
|
sha256 = "sha256-RtvT5/LZ/xP68yBB7DDKJGeNCiX4HyPTCuk+Ijd2nFs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
|
@ -8,7 +8,7 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, networkx
|
, networkx
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, python-igraph
|
, igraph
|
||||||
, plotly
|
, plotly
|
||||||
, ipywidgets
|
, ipywidgets
|
||||||
}:
|
}:
|
||||||
|
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
networkx
|
networkx
|
||||||
matplotlib
|
matplotlib
|
||||||
python-igraph
|
igraph
|
||||||
plotly
|
plotly
|
||||||
ipywidgets
|
ipywidgets
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,40 +1,49 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
|
||||||
, mock
|
|
||||||
, pycrypto
|
, pycrypto
|
||||||
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
, pytest-runner
|
|
||||||
, pytest
|
|
||||||
, requests-mock
|
|
||||||
, typing
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "apache-libcloud";
|
pname = "apache-libcloud";
|
||||||
version = "3.4.0";
|
version = "3.4.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "17618ccbe3493f2be015db9e1efa35080ff34d470de723f1384d908ff126e51c";
|
sha256 = "sha256-iPGNoM8/rAr3I+dD+3QdnRviUYge2reloNFimVW1ARs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ mock pytest pytest-runner requests-mock ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ pycrypto requests ] ++ lib.optionals isPy27 [ typing ];
|
pycrypto
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py";
|
preConfigure = ''
|
||||||
|
cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "setup_requires=pytest_runner," "setup_requires=[],"
|
||||||
|
'';
|
||||||
|
|
||||||
# requires a certificates file
|
# requires a certificates file
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "libcloud" ];
|
pythonImportsCheck = [
|
||||||
|
"libcloud"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A unified interface to many cloud providers";
|
description = "A unified interface to many cloud providers";
|
||||||
homepage = "https://libcloud.apache.org/";
|
homepage = "https://libcloud.apache.org/";
|
||||||
changelog = "https://github.com/apache/libcloud/blob/v${version}/CHANGES.rst";
|
changelog = "https://github.com/apache/libcloud/blob/v${version}/CHANGES.rst";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
58
pkgs/development/python-modules/potentials/default.nix
Normal file
58
pkgs/development/python-modules/potentials/default.nix
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, ipywidgets
|
||||||
|
, cdcs
|
||||||
|
, bibtexparser
|
||||||
|
, habanero
|
||||||
|
, pandas
|
||||||
|
, requests
|
||||||
|
, numpy
|
||||||
|
, matplotlib
|
||||||
|
, unidecode
|
||||||
|
, datamodeldict
|
||||||
|
, xmltodict
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.3.1";
|
||||||
|
pname = "potentials";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "02l1rav5jdfsb00byxbswyhqdnjljp9y7g4ddn4mivzi7x39qa52";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
ipywidgets
|
||||||
|
cdcs
|
||||||
|
bibtexparser
|
||||||
|
habanero
|
||||||
|
pandas
|
||||||
|
requests
|
||||||
|
numpy
|
||||||
|
matplotlib
|
||||||
|
unidecode
|
||||||
|
datamodeldict
|
||||||
|
xmltodict
|
||||||
|
];
|
||||||
|
|
||||||
|
# Project has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"potentials"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python API database tools for accessing the NIST Interatomic Potentials Repository";
|
||||||
|
homepage = "https://github.com/usnistgov/potentials";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -68,7 +68,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python bindings for Mapnik";
|
description = "Python bindings for Mapnik";
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ erictapen ];
|
||||||
homepage = "https://mapnik.org";
|
homepage = "https://mapnik.org";
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
};
|
};
|
||||||
|
|
|
@ -29,7 +29,9 @@ upgrade_all=
|
||||||
profile=/nix/var/nix/profiles/system
|
profile=/nix/var/nix/profiles/system
|
||||||
buildHost=localhost
|
buildHost=localhost
|
||||||
targetHost=
|
targetHost=
|
||||||
maybeSudo=()
|
remoteSudo=
|
||||||
|
# comma separated list of vars to preserve when using sudo
|
||||||
|
preservedSudoVars=NIXOS_INSTALL_BOOTLOADER
|
||||||
|
|
||||||
while [ "$#" -gt 0 ]; do
|
while [ "$#" -gt 0 ]; do
|
||||||
i="$1"; shift 1
|
i="$1"; shift 1
|
||||||
|
@ -100,7 +102,7 @@ while [ "$#" -gt 0 ]; do
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
--use-remote-sudo)
|
--use-remote-sudo)
|
||||||
maybeSudo=(sudo --)
|
remoteSudo=1
|
||||||
;;
|
;;
|
||||||
--flake)
|
--flake)
|
||||||
flake="$1"
|
flake="$1"
|
||||||
|
@ -126,8 +128,8 @@ while [ "$#" -gt 0 ]; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -n "$SUDO_USER" ]; then
|
if [[ -n "$SUDO_USER" || -n $remoteSudo ]]; then
|
||||||
maybeSudo=(sudo --)
|
maybeSudo=(sudo --preserve-env="$preservedSudoVars" --)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$buildHost" -a -n "$targetHost" ]; then
|
if [ -z "$buildHost" -a -n "$targetHost" ]; then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ callPackage, ... } @ args:
|
{ callPackage, ... } @ args:
|
||||||
|
|
||||||
callPackage ./generic.nix args {
|
callPackage ./generic.nix args {
|
||||||
version = "1.20.1";
|
version = "1.20.2";
|
||||||
sha256 = "0jccnknx57yvbvx6qwwisa8rb5zm1wb54xnz0nm0phym6cay2qp4";
|
sha256 = "0hjsyjzd35qyw49w210f67g678kvzinw4kg1acb0l6c2fxspd24m";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchzip, fetchFromGitHub, cmake, pkg-config, makeWrapper, ncurses, nixosTests
|
{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkg-config, makeWrapper, ncurses, nixosTests
|
||||||
, libiconv, openssl, pcre2, boost, judy, bison, libxml2, libkrb5, linux-pam, curl
|
, libiconv, openssl, pcre2, boost, judy, bison, libxml2, libkrb5, linux-pam, curl
|
||||||
, libaio, libevent, jemalloc, cracklib, systemd, perl
|
, libaio, libevent, jemalloc, cracklib, systemd, perl
|
||||||
, bzip2, lz4, lzo, snappy, xz, zlib, zstd
|
, bzip2, lz4, lzo, snappy, xz, zlib, zstd
|
||||||
|
@ -24,9 +24,9 @@ mariadb = server // {
|
||||||
common = rec { # attributes common to both builds
|
common = rec { # attributes common to both builds
|
||||||
version = "10.6.5";
|
version = "10.6.5";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchurl {
|
||||||
url = "https://downloads.mariadb.com/MariaDB/mariadb-${version}/source/mariadb-${version}.tar.gz";
|
url = "https://downloads.mariadb.com/MariaDB/mariadb-${version}/source/mariadb-${version}.tar.gz";
|
||||||
sha256 = "0rvcllbplgn92kr5n3qxfasnsqc8cn9ijm01fb7i7j2p9zxnfhig";
|
sha256 = "sha256-4L4EBCjZpCqLtL0iG1Z/8lIs1vqJBjhic9pPA8XCCo8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ]
|
nativeBuildInputs = [ cmake pkg-config ]
|
||||||
|
@ -44,7 +44,10 @@ common = rec { # attributes common to both builds
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./cmake-includedir.patch
|
./cmake-includedir.patch
|
||||||
];
|
]
|
||||||
|
# Fixes a build issue as documented on
|
||||||
|
# https://jira.mariadb.org/browse/MDEV-26769?focusedCommentId=206073&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-206073
|
||||||
|
++ lib.optional (!stdenv.isLinux) ./macos-MDEV-26769-regression-fix.patch;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_CONFIG=mysql_release"
|
"-DBUILD_CONFIG=mysql_release"
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff -ru a/storage/innobase/include/buf0types.h b/storage/innobase/include/buf0types.h
|
||||||
|
--- a/storage/innobase/include/buf0types.h 2021-11-17 02:37:32.000000000 -0500
|
||||||
|
+++ b/storage/innobase/include/buf0types.h 2021-11-17 02:38:50.000000000 -0500
|
||||||
|
@@ -179,7 +179,7 @@
|
||||||
|
#include "sux_lock.h"
|
||||||
|
|
||||||
|
#ifdef SUX_LOCK_GENERIC
|
||||||
|
-class page_hash_latch : private rw_lock
|
||||||
|
+class page_hash_latch : public rw_lock
|
||||||
|
{
|
||||||
|
/** Wait for a shared lock */
|
||||||
|
void read_lock_wait();
|
|
@ -2379,7 +2379,7 @@ with pkgs;
|
||||||
|
|
||||||
catclock = callPackage ../applications/misc/catclock { };
|
catclock = callPackage ../applications/misc/catclock { };
|
||||||
|
|
||||||
cardpeek = callPackage ../applications/misc/cardpeek { };
|
cardpeek = callPackage ../applications/misc/cardpeek { inherit (darwin.apple_sdk.frameworks) PCSC; };
|
||||||
|
|
||||||
cawbird = callPackage ../applications/networking/cawbird { };
|
cawbird = callPackage ../applications/networking/cawbird { };
|
||||||
|
|
||||||
|
@ -10647,7 +10647,9 @@ with pkgs;
|
||||||
withRedis = true;
|
withRedis = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
unicorn = callPackage ../development/libraries/unicorn { };
|
unicorn = callPackage ../development/libraries/unicorn {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||||
|
};
|
||||||
|
|
||||||
units = callPackage ../tools/misc/units {
|
units = callPackage ../tools/misc/units {
|
||||||
enableCurrenciesUpdater = true;
|
enableCurrenciesUpdater = true;
|
||||||
|
@ -18508,7 +18510,15 @@ with pkgs;
|
||||||
|
|
||||||
opencl-clang = callPackage ../development/libraries/opencl-clang { };
|
opencl-clang = callPackage ../development/libraries/opencl-clang { };
|
||||||
|
|
||||||
mapnik = callPackage ../development/libraries/mapnik { };
|
mapnik = callPackage ../development/libraries/mapnik {
|
||||||
|
gdal = gdal.override {
|
||||||
|
libgeotiff = libgeotiff.override { proj = proj_7; };
|
||||||
|
libspatialite = libspatialite.override { proj = proj_7; };
|
||||||
|
proj = proj_7;
|
||||||
|
};
|
||||||
|
proj = proj_7;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
marisa = callPackage ../development/libraries/marisa {};
|
marisa = callPackage ../development/libraries/marisa {};
|
||||||
|
|
||||||
|
@ -26611,6 +26621,7 @@ with pkgs;
|
||||||
|
|
||||||
menyoki = callPackage ../applications/graphics/menyoki {
|
menyoki = callPackage ../applications/graphics/menyoki {
|
||||||
inherit (xorg) libX11 libXrandr;
|
inherit (xorg) libX11 libXrandr;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||||
};
|
};
|
||||||
|
|
||||||
mercurial = callPackage ../applications/version-management/mercurial {
|
mercurial = callPackage ../applications/version-management/mercurial {
|
||||||
|
|
|
@ -75,6 +75,7 @@ mapAliases ({
|
||||||
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
|
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
|
||||||
pytestquickcheck = pytest-quickcheck; # added 2021-07-20
|
pytestquickcheck = pytest-quickcheck; # added 2021-07-20
|
||||||
pytestrunner = pytest-runner; # added 2021-01-04
|
pytestrunner = pytest-runner; # added 2021-01-04
|
||||||
|
python-igraph = igraph; # added 2021-11-11
|
||||||
python-lz4 = lz4; # added 2018-06-01
|
python-lz4 = lz4; # added 2018-06-01
|
||||||
python_mimeparse = python-mimeparse; # added 2021-10-31
|
python_mimeparse = python-mimeparse; # added 2021-10-31
|
||||||
python-subunit = subunit; # added 2021-09-10
|
python-subunit = subunit; # added 2021-09-10
|
||||||
|
|
|
@ -1411,6 +1411,8 @@ in {
|
||||||
|
|
||||||
cchardet = callPackage ../development/python-modules/cchardet { };
|
cchardet = callPackage ../development/python-modules/cchardet { };
|
||||||
|
|
||||||
|
cdcs = callPackage ../development/python-modules/cdcs { };
|
||||||
|
|
||||||
celery = callPackage ../development/python-modules/celery { };
|
celery = callPackage ../development/python-modules/celery { };
|
||||||
|
|
||||||
cement = callPackage ../development/python-modules/cement { };
|
cement = callPackage ../development/python-modules/cement { };
|
||||||
|
@ -3702,6 +3704,10 @@ in {
|
||||||
|
|
||||||
ignite = callPackage ../development/python-modules/ignite { };
|
ignite = callPackage ../development/python-modules/ignite { };
|
||||||
|
|
||||||
|
igraph = callPackage ../development/python-modules/igraph {
|
||||||
|
inherit (pkgs) igraph;
|
||||||
|
};
|
||||||
|
|
||||||
ihatemoney = callPackage ../development/python-modules/ihatemoney { };
|
ihatemoney = callPackage ../development/python-modules/ihatemoney { };
|
||||||
|
|
||||||
ijson = callPackage ../development/python-modules/ijson { };
|
ijson = callPackage ../development/python-modules/ijson { };
|
||||||
|
@ -5920,6 +5926,8 @@ in {
|
||||||
|
|
||||||
pot = callPackage ../development/python-modules/pot { };
|
pot = callPackage ../development/python-modules/pot { };
|
||||||
|
|
||||||
|
potentials = callPackage ../development/python-modules/potentials { };
|
||||||
|
|
||||||
potr = callPackage ../development/python-modules/potr { };
|
potr = callPackage ../development/python-modules/potr { };
|
||||||
|
|
||||||
power = callPackage ../development/python-modules/power { };
|
power = callPackage ../development/python-modules/power { };
|
||||||
|
@ -7515,10 +7523,6 @@ in {
|
||||||
|
|
||||||
python-http-client = callPackage ../development/python-modules/python-http-client { };
|
python-http-client = callPackage ../development/python-modules/python-http-client { };
|
||||||
|
|
||||||
python-igraph = callPackage ../development/python-modules/python-igraph {
|
|
||||||
inherit (pkgs) igraph;
|
|
||||||
};
|
|
||||||
|
|
||||||
pythonix = callPackage ../development/python-modules/pythonix {
|
pythonix = callPackage ../development/python-modules/pythonix {
|
||||||
nix = pkgs.nix_2_3;
|
nix = pkgs.nix_2_3;
|
||||||
meson = pkgs.meson.override { python3 = self.python; };
|
meson = pkgs.meson.override { python3 = self.python; };
|
||||||
|
|
Loading…
Reference in a new issue