Merge pull request #111646 from SuperSandro2000/fix-collection7
This commit is contained in:
commit
c63f0ffed8
@ -16,13 +16,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace is_KeyFinder.pro \
|
substituteInPlace is_KeyFinder.pro \
|
||||||
--replace "keyfinder.0" "keyfinder" \
|
|
||||||
--replace "-stdlib=libc++" "" \
|
--replace "-stdlib=libc++" "" \
|
||||||
--replace "\$\$[QT_INSTALL_PREFIX]" "$out"
|
--replace "\$\$[QT_INSTALL_PREFIX]" "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Musical key detection for digital audio (graphical UI)";
|
description = "Musical key detection for digital audio (graphical UI)";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -17,7 +17,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
--replace 'WTForms ==' 'WTForms >=' \
|
--replace 'WTForms ==' 'WTForms >=' \
|
||||||
--replace 'attrs == 20.2.0' 'attrs' \
|
--replace 'attrs == 20.2.0' 'attrs' \
|
||||||
--replace 'beautifulsoup4 ==' 'beautifulsoup4 >=' \
|
|
||||||
--replace 'elasticsearch ==' 'elasticsearch >=' \
|
--replace 'elasticsearch ==' 'elasticsearch >=' \
|
||||||
--replace 'python_dotenv ==' 'python_dotenv >=' \
|
--replace 'python_dotenv ==' 'python_dotenv >=' \
|
||||||
--replace 'python_frontmatter == 0.5.0' 'python_frontmatter' \
|
--replace 'python_frontmatter == 0.5.0' 'python_frontmatter' \
|
||||||
|
@ -25,7 +25,6 @@ stdenv.mkDerivation rec {
|
|||||||
x86_64-darwin = "0y2qjdlyvhrzwg0fmxsr3jl39kd13276a7wg0ndhdjfwxvdwpxkz";
|
x86_64-darwin = "0y2qjdlyvhrzwg0fmxsr3jl39kd13276a7wg0ndhdjfwxvdwpxkz";
|
||||||
};
|
};
|
||||||
|
|
||||||
doBuild = false;
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -35,8 +35,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ fahviewer python ];
|
buildInputs = [ fahviewer python ];
|
||||||
|
|
||||||
doBuild = false;
|
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
dpkg-deb -x ${src} ./
|
dpkg-deb -x ${src} ./
|
||||||
'';
|
'';
|
||||||
|
@ -16,10 +16,8 @@ python3Packages.buildPythonApplication rec {
|
|||||||
six
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
# Prevent tests from trying to create configuration in /homeless-shelter.
|
# no tests
|
||||||
preCheck = ''
|
doCheck = false;
|
||||||
export HOME=$PWD/test-home
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/frostming/legit";
|
homepage = "https://github.com/frostming/legit";
|
||||||
|
@ -18,7 +18,6 @@ stdenv.mkDerivation {
|
|||||||
unpackCmd = "mkdir src; cp $curSrc src/vcs";
|
unpackCmd = "mkdir src; cp $curSrc src/vcs";
|
||||||
patches = [ ./fonts.patch ];
|
patches = [ ./fonts.patch ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
doBuild = false;
|
|
||||||
|
|
||||||
inherit dejavu_fonts;
|
inherit dejavu_fonts;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, gaucheBootstrap, pkg-config, texinfo
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, gaucheBootstrap, pkg-config, texinfo
|
||||||
, libiconv, gdbm, openssl, zlib, mbedtls, cacert }:
|
, libiconv, gdbm, openssl, zlib, mbedtls, cacert }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gauche";
|
pname = "gauche";
|
||||||
@ -45,5 +45,6 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ mnacamura ];
|
maintainers = with maintainers; [ mnacamura ];
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -32,11 +32,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace 'set(ROCCLR_EXPORTS_FILE "''${CMAKE_CURRENT_BINARY_DIR}/amdrocclr_staticTargets.cmake")' \
|
|
||||||
'set(ROCCLR_EXPORTS_FILE "''${CMAKE_INSTALL_LIBDIR}/cmake/amdrocclr_staticTargets.cmake")' \
|
|
||||||
--replace 'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_CURRENT_BINARY_DIR}/lib)' \
|
--replace 'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_CURRENT_BINARY_DIR}/lib)' \
|
||||||
'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_INSTALL_LIBDIR})' \
|
'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_INSTALL_LIBDIR})'
|
||||||
--replace 'find_library( OpenCL REQUIRED' 'find_library( OpenCL'
|
|
||||||
substituteInPlace device/comgrctx.cpp \
|
substituteInPlace device/comgrctx.cpp \
|
||||||
--replace "libamd_comgr.so" "${rocm-comgr}/lib/libamd_comgr.so"
|
--replace "libamd_comgr.so" "${rocm-comgr}/lib/libamd_comgr.so"
|
||||||
'';
|
'';
|
||||||
|
@ -143,11 +143,9 @@ buildPythonPackage rec {
|
|||||||
--replace "flask-appbuilder>=1.12.5, <2.0.0" "flask-appbuilder" \
|
--replace "flask-appbuilder>=1.12.5, <2.0.0" "flask-appbuilder" \
|
||||||
--replace "flask-admin==1.5.3" "flask-admin" \
|
--replace "flask-admin==1.5.3" "flask-admin" \
|
||||||
--replace "flask-login>=0.3, <0.5" "flask-login" \
|
--replace "flask-login>=0.3, <0.5" "flask-login" \
|
||||||
--replace "pendulum==1.4.4" "pendulum" \
|
|
||||||
--replace "cached_property~=1.5" "cached_property" \
|
--replace "cached_property~=1.5" "cached_property" \
|
||||||
--replace "dill>=0.2.2, <0.3" "dill" \
|
--replace "dill>=0.2.2, <0.3" "dill" \
|
||||||
--replace "configparser>=3.5.0, <3.6.0" "configparser" \
|
--replace "configparser>=3.5.0, <3.6.0" "configparser" \
|
||||||
--replace "jinja2>=2.10.1, <2.11.0" "jinja2" \
|
|
||||||
--replace "colorlog==4.0.2" "colorlog" \
|
--replace "colorlog==4.0.2" "colorlog" \
|
||||||
--replace "funcsigs==1.0.0" "funcsigs" \
|
--replace "funcsigs==1.0.0" "funcsigs" \
|
||||||
--replace "flask-swagger==0.2.13" "flask-swagger" \
|
--replace "flask-swagger==0.2.13" "flask-swagger" \
|
||||||
|
@ -11,11 +11,6 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1e912937650c1dbb830079dd9c039950762a230223a567740fbf1b23f1090367";
|
sha256 = "1e912937650c1dbb830079dd9c039950762a230223a567740fbf1b23f1090367";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "iso8601<=0.1.11" iso8601
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
chameleon
|
chameleon
|
||||||
colander
|
colander
|
||||||
|
@ -25,6 +25,9 @@ buildPythonPackage rec {
|
|||||||
++ lib.optional stdenv.isLinux pyinotify
|
++ lib.optional stdenv.isLinux pyinotify
|
||||||
++ lib.optional stdenv.isDarwin macfsevents;
|
++ lib.optional stdenv.isDarwin macfsevents;
|
||||||
|
|
||||||
|
# hangs on darwin
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
checkInputs = [ mock pytestCheckHook ];
|
checkInputs = [ mock pytestCheckHook ];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, numpy
|
, numpy
|
||||||
|
, exdown
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -32,12 +33,9 @@ buildPythonPackage rec {
|
|||||||
mkdir -p $HOME/.matplotlib
|
mkdir -p $HOME/.matplotlib
|
||||||
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
|
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
|
||||||
'';
|
'';
|
||||||
checkInputs = [ pytestCheckHook ];
|
|
||||||
|
checkInputs = [ exdown pytestCheckHook ];
|
||||||
pythonImportsCheck = [ "dufte" ];
|
pythonImportsCheck = [ "dufte" ];
|
||||||
pytestFlagsArray = [
|
|
||||||
# we don't have the "exdown" package (yet)
|
|
||||||
"--ignore=test/test_readme.py"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Clean matplotlib plots";
|
description = "Clean matplotlib plots";
|
||||||
|
24
pkgs/development/python-modules/exdown/default.nix
Normal file
24
pkgs/development/python-modules/exdown/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||||
|
, importlib-metadata }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "exdown";
|
||||||
|
version = "0.7.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-vnSso3vmPIjX7JX+NwoxguwqwPHocJACeh5H0ClPcUI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "exdown" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Extract code blocks from markdown";
|
||||||
|
homepage = "https://github.com/nschloe/exdown";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -15,6 +15,11 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ GitPython ];
|
propagatedBuildInputs = [ GitPython ];
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "gitsweep" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A command-line tool that helps you clean up Git branches";
|
description = "A command-line tool that helps you clean up Git branches";
|
||||||
homepage = "https://github.com/arc90/git-sweep";
|
homepage = "https://github.com/arc90/git-sweep";
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
, tabulate
|
, tabulate
|
||||||
, nbformat
|
, nbformat
|
||||||
, jsonschema
|
, jsonschema
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, colorama
|
, colorama
|
||||||
, pygments
|
, pygments
|
||||||
, tornado
|
, tornado
|
||||||
@ -40,7 +40,16 @@ buildPythonPackage rec {
|
|||||||
jsonschema
|
jsonschema
|
||||||
mock
|
mock
|
||||||
tabulate
|
tabulate
|
||||||
pytest
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
"test_apply_filter_no_repo"
|
||||||
|
"test_diff_api_checkpoint"
|
||||||
|
"test_filter_cmd_invalid_filter"
|
||||||
|
"test_inline_merge"
|
||||||
|
"test_interrogate_filter_no_repo"
|
||||||
|
"test_merge_input_strategy_inline_source_conflict"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
@ -22,6 +22,7 @@ buildPythonPackage rec {
|
|||||||
description = "Python bindings to Slurm";
|
description = "Python bindings to Slurm";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ bhipple ];
|
maintainers = with maintainers; [ bhipple ];
|
||||||
|
platforms = platforms.linux;
|
||||||
broken = true; # still needs slurm-19.05, but nixpkgs has slurm-20+ now
|
broken = true; # still needs slurm-19.05, but nixpkgs has slurm-20+ now
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ maven ] ++ lib.optional stdenv.isLinux autoPatchelfHook;
|
nativeBuildInputs = [ maven ] ++ lib.optional stdenv.isLinux autoPatchelfHook;
|
||||||
|
|
||||||
doBuild = false;
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, fetchFromGitHub, buildPythonPackage, isPy3k, regex }:
|
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, isPy3k, regex }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "SoMaJo";
|
pname = "SoMaJo";
|
||||||
@ -14,6 +14,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ regex ];
|
propagatedBuildInputs = [ regex ];
|
||||||
|
|
||||||
|
# loops forever
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tokenizer and sentence splitter for German and English web texts";
|
description = "Tokenizer and sentence splitter for German and English web texts";
|
||||||
homepage = "https://github.com/tsproisl/SoMaJo";
|
homepage = "https://github.com/tsproisl/SoMaJo";
|
||||||
|
@ -49,6 +49,9 @@ python.pkgs.buildPythonApplication rec {
|
|||||||
ruamel_yaml
|
ruamel_yaml
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://f-droid.org";
|
homepage = "https://f-droid.org";
|
||||||
description = "Server and tools for F-Droid, the Free Software repository system for Android";
|
description = "Server and tools for F-Droid, the Free Software repository system for Android";
|
||||||
|
@ -12,6 +12,9 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ colorama GitPython ];
|
propagatedBuildInputs = [ colorama GitPython ];
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Easily update multiple Git repositories at once";
|
description = "Easily update multiple Git repositories at once";
|
||||||
homepage = "https://github.com/earwig/git-repo-updater";
|
homepage = "https://github.com/earwig/git-repo-updater";
|
||||||
|
@ -15,8 +15,6 @@ buildPythonApplication rec {
|
|||||||
sha256 = "QHpVIOtGFzNqAEcBCv48YWO4pYatbTe/CWwcwjbj+34=";
|
sha256 = "QHpVIOtGFzNqAEcBCv48YWO4pYatbTe/CWwcwjbj+34=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doBuild = false;
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/libexec/tautulli
|
mkdir -p $out/bin $out/libexec/tautulli
|
||||||
cp -R contrib data lib plexpy Tautulli.py $out/libexec/tautulli
|
cp -R contrib data lib plexpy Tautulli.py $out/libexec/tautulli
|
||||||
|
@ -2105,6 +2105,8 @@ in {
|
|||||||
|
|
||||||
ewmh = callPackage ../development/python-modules/ewmh { };
|
ewmh = callPackage ../development/python-modules/ewmh { };
|
||||||
|
|
||||||
|
exdown = callPackage ../development/python-modules/exdown { };
|
||||||
|
|
||||||
exchangelib = callPackage ../development/python-modules/exchangelib { };
|
exchangelib = callPackage ../development/python-modules/exchangelib { };
|
||||||
|
|
||||||
execnet = callPackage ../development/python-modules/execnet { };
|
execnet = callPackage ../development/python-modules/execnet { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user