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