Merge pull request #194100 from mweinelt/python-fixes
This commit is contained in:
+7
-9
@@ -1,19 +1,16 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, isPy3k
|
||||
, fetchFromGitHub
|
||||
, notmuch
|
||||
, pygobject3
|
||||
, gobject-introspection
|
||||
, libnotify
|
||||
, wrapGAppsHook
|
||||
, gtk3
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "notifymuch";
|
||||
version = "0.1";
|
||||
disabled = !isPy3k;
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kspi";
|
||||
@@ -24,11 +21,12 @@ buildPythonApplication rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
notmuch
|
||||
pygobject3
|
||||
libnotify
|
||||
gtk3
|
||||
];
|
||||
] ++ (with python3.pkgs; [
|
||||
notmuch
|
||||
pygobject3
|
||||
]);
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
@@ -1,11 +1,11 @@
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, buildPythonApplication, python
|
||||
, buildPythonPackage, python
|
||||
, pytestCheckHook, mock, path, pyhamcrest, pytest-html
|
||||
, glibcLocales
|
||||
, colorama, cucumber-tag-expressions, parse, parse-type, six
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "behave";
|
||||
version = "1.2.7.dev2";
|
||||
|
||||
|
||||
@@ -1,8 +1,15 @@
|
||||
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, prompt-toolkit }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, prompt-toolkit }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "clintermission";
|
||||
version = "0.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sebageek";
|
||||
@@ -11,14 +18,16 @@ buildPythonApplication rec {
|
||||
sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ prompt-toolkit ];
|
||||
|
||||
disabled = !isPy3k;
|
||||
propagatedBuildInputs = [
|
||||
prompt-toolkit
|
||||
];
|
||||
|
||||
# repo contains no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "clintermission" ];
|
||||
pythonImportsCheck = [
|
||||
"clintermission"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Non-fullscreen command-line selection menu";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cpyparsing
|
||||
, ipykernel
|
||||
@@ -12,7 +12,7 @@
|
||||
, watchdog
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "coconut";
|
||||
version = "1.6.0";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, expiringdict
|
||||
, google-auth-httplib2
|
||||
@@ -7,7 +7,7 @@
|
||||
, google-api-python-client
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "drivelib";
|
||||
version = "0.3.0";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, dill
|
||||
, coverage
|
||||
@@ -8,16 +8,17 @@
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "expiringdict";
|
||||
version = "1.2.2";
|
||||
format = "setuptools";
|
||||
|
||||
# use fetchFromGitHub instead of fetchPypi because the test suite of
|
||||
# the package is not included into the PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "mailgun";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-vRhJSHIqc51I+s/wndtfANM44CKW3QS1iajqyoSBf0I=";
|
||||
};
|
||||
|
||||
@@ -30,14 +31,18 @@ buildPythonApplication rec {
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
nosetests -v --with-coverage --cover-package=expiringdict
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "expiringdict" ];
|
||||
pythonImportsCheck = [
|
||||
"expiringdict"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dictionary with auto-expiring values for caching purposes";
|
||||
homepage = "https://pypi.org/project/expiringdict/";
|
||||
homepage = "https://github.com/mailgun/expiringdict";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ gravndal ];
|
||||
};
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "filecheck";
|
||||
version = "0.0.22";
|
||||
format = "pyproject";
|
||||
@@ -16,9 +17,23 @@ buildPythonApplication rec {
|
||||
sha256 = "sha256-I2SypKkgcVuLyLiwNw5oWDb9qT56TbC6vbui8PEcziI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "poetry>=0.12" "poetry-core" \
|
||||
--replace "poetry.masonry.api" "poetry.core.masonry.api"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "filecheck" ];
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"filecheck"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mull-project/FileCheck.py";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, beautifulsoup4
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, filelock
|
||||
, requests
|
||||
@@ -9,7 +9,7 @@
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "gdown";
|
||||
version = "4.5.1";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, graphviz
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "gprof2dot";
|
||||
version = "2021.02.21";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrfonseca";
|
||||
@@ -36,6 +37,6 @@ buildPythonApplication rec {
|
||||
homepage = "https://github.com/jrfonseca/gprof2dot";
|
||||
description = "Python script to convert the output from many profilers into a dot graph";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = [ maintainers.pmiddend ];
|
||||
maintainers = with maintainers; [ pmiddend ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, aiofiles
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, cached-property
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
@@ -9,7 +9,7 @@
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "griffe";
|
||||
version = "0.22.0";
|
||||
format = "pyproject";
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, editorconfig
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "jsbeautifier";
|
||||
version = "1.14.6";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, marisa-trie
|
||||
, poetry-core
|
||||
@@ -7,7 +7,7 @@
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "language-data";
|
||||
version = "1.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, markdown
|
||||
, mkdocs
|
||||
@@ -8,7 +8,7 @@
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-autorefs";
|
||||
version = "0.4.1";
|
||||
format = "pyproject";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, callPackage
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, jinja2
|
||||
, markdown
|
||||
@@ -11,7 +11,7 @@
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-material";
|
||||
version = "8.4.3";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
{ lib
|
||||
, callPackage
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mkdocs
|
||||
, csscompressor
|
||||
, htmlmin
|
||||
, jsmin
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-minify";
|
||||
version = "0.5.0";
|
||||
|
||||
@@ -26,6 +27,11 @@ buildPythonApplication rec {
|
||||
mkdocs
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mkdocs
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mkdocs" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
{ lib
|
||||
, callPackage
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mkdocs
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-redirects";
|
||||
version = "1.2.0";
|
||||
|
||||
@@ -20,7 +21,13 @@ buildPythonApplication rec {
|
||||
mkdocs
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mkdocs" ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mkdocs_redirects"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source plugin for Mkdocs page redirects";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, griffe
|
||||
, mkdocs-material
|
||||
@@ -9,7 +9,7 @@
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocstrings-python";
|
||||
version = "0.7.1";
|
||||
format = "pyproject";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, jinja2
|
||||
, markdown
|
||||
@@ -12,7 +12,7 @@
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocstrings";
|
||||
version = "0.19.0";
|
||||
format = "pyproject";
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
{ lib, fetchPypi, buildPythonApplication, protobuf, types-protobuf, grpcio-tools, pythonOlder }:
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, protobuf
|
||||
, types-protobuf
|
||||
, grpcio-tools
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "mypy-protobuf";
|
||||
version = "3.3.0";
|
||||
format = "pyproject";
|
||||
@@ -12,7 +20,21 @@ buildPythonApplication rec {
|
||||
sha256 = "sha256-JPOwrssGZW6YP1jgfHMqkFd7nXrz4QZvwrZju/A3Akg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ protobuf types-protobuf grpcio-tools ];
|
||||
propagatedBuildInputs = [
|
||||
protobuf
|
||||
types-protobuf
|
||||
grpcio-tools
|
||||
];
|
||||
|
||||
doCheck = false; # ModuleNotFoundError: No module named 'testproto'
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mypy_protobuf"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate mypy stub files from protobuf specs";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, substituteAll
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, joblib
|
||||
, segments
|
||||
@@ -13,17 +13,18 @@
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "phonemizer";
|
||||
version = "3.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Bo+F+FqKmtxjijeHrqyvcaU+R1eLEtdzwJdDNQDNiSs=";
|
||||
hash = "sha256-Bo+F+FqKmtxjijeHrqyvcaU+R1eLEtdzwJdDNQDNiSs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '/\'pytest-runner\'/d setup.py
|
||||
sed -i '/pytest-runner/d setup.py
|
||||
'';
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -18,10 +18,8 @@
|
||||
, xclip
|
||||
}:
|
||||
|
||||
# NOTE: pypass can also be used as an application, but probably the most
|
||||
# important usecase is as a library. So, let's use buildPythonPackage and
|
||||
# support any Python version instead of defining it as an application with
|
||||
# buildPythonApplication.
|
||||
# Use the `pypass` top-level attribute, if you're interested in the
|
||||
# application
|
||||
buildPythonPackage rec {
|
||||
pname = "pypass";
|
||||
version = "0.2.1";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, coreutils
|
||||
, pbr
|
||||
@@ -18,7 +18,7 @@
|
||||
, requests-mock
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "python-glanceclient";
|
||||
version = "4.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, babel
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, cliff
|
||||
, fetchPypi
|
||||
, iso8601
|
||||
@@ -20,7 +20,7 @@
|
||||
, testscenarios
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "python-heatclient";
|
||||
version = "3.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pbr
|
||||
, appdirs
|
||||
@@ -18,7 +18,7 @@
|
||||
, oslotest
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "python-ironicclient";
|
||||
version = "5.0.1";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, installShellFiles
|
||||
, pbr
|
||||
@@ -21,7 +21,7 @@
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "python-manilaclient";
|
||||
version = "4.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, installShellFiles
|
||||
, mock
|
||||
@@ -10,7 +10,7 @@
|
||||
, stestr
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "python-swiftclient";
|
||||
version = "4.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build deps
|
||||
@@ -16,7 +16,7 @@
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "remarshal";
|
||||
version = "0.14.0";
|
||||
format = "pyproject";
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
{ lib, buildPythonApplication, fetchPypi, isPy3k }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "rfc-bibtex";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "60419a2043ef37ac2438f3eae7a3207d0a4cb2dd56ab21697f874a35ee52927f";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/iluxonchik/rfc-bibtex/";
|
||||
description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, dataclasses
|
||||
, fetchFromGitHub
|
||||
, libX11
|
||||
@@ -11,7 +11,7 @@
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "screeninfo";
|
||||
version = "0.8.1";
|
||||
format = "pyproject";
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "sybil";
|
||||
version = "3.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pbr
|
||||
, cliff
|
||||
@@ -26,7 +26,7 @@
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "tempest";
|
||||
version = "32.0.0";
|
||||
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
{ lib, fetchurl, buildPythonApplication, pythonPackages }:
|
||||
|
||||
with lib;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "yolk";
|
||||
version = "0.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/y/yolk/yolk-${version}.tar.gz";
|
||||
sha256 = "1f6xwx210jnl5nq0m3agh2p1cxmaizawaf3fwq43q4yw050fn1qw";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [ nose ];
|
||||
|
||||
meta = {
|
||||
description = "Command-line tool for querying PyPI and Python packages installed on your system";
|
||||
homepage = "https://github.com/cakebread/yolk";
|
||||
maintainers = with maintainers; [];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
||||
+13
-3
@@ -1,8 +1,13 @@
|
||||
{ lib, buildPythonApplication, fetchFromGitHub, pytestCheckHook, pytest-dependency, aspell-python, aspellDicts, chardet }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, aspellDicts
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "codespell";
|
||||
version = "2.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codespell-project";
|
||||
@@ -17,7 +22,12 @@ buildPythonApplication rec {
|
||||
--replace "--cov-report=" ""
|
||||
'';
|
||||
|
||||
checkInputs = [ aspell-python chardet pytestCheckHook pytest-dependency ];
|
||||
checkInputs = with python3.pkgs; [
|
||||
aspell-python
|
||||
chardet
|
||||
pytestCheckHook
|
||||
pytest-dependency
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export ASPELL_CONF="dict-dir ${aspellDicts.en}/lib/aspell"
|
||||
+2
-9
@@ -1,16 +1,9 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonApplication
|
||||
, click
|
||||
, glob2
|
||||
, parso
|
||||
, pony
|
||||
, junit-xml
|
||||
, pythonOlder
|
||||
, testers
|
||||
, python3
|
||||
}:
|
||||
|
||||
let self = buildPythonApplication rec {
|
||||
let self = with python3.pkgs; buildPythonApplication rec {
|
||||
pname = "mutmut";
|
||||
version = "2.2.0";
|
||||
|
||||
+12
-25
@@ -1,34 +1,26 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonApplication
|
||||
, click
|
||||
, fetchPypi
|
||||
, python3
|
||||
, git
|
||||
, httpretty
|
||||
, qrcode
|
||||
, pygments
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, rollbar
|
||||
, stripe
|
||||
, pythonOlder
|
||||
, sure
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "gigalixir";
|
||||
version = "1.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-kNtybgv8j7t1tl6R5ZuC4vj5fnEcEenuNt0twA1kAh0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner'," "" \
|
||||
--replace "cryptography==" "cryptography>="
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
click
|
||||
pygments
|
||||
pyopenssl
|
||||
@@ -40,16 +32,11 @@ buildPythonApplication rec {
|
||||
|
||||
checkInputs = [
|
||||
git
|
||||
] ++ (with python3.pkgs; [
|
||||
httpretty
|
||||
pytestCheckHook
|
||||
sure
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner'," "" \
|
||||
--replace "cryptography==" "cryptography>="
|
||||
'';
|
||||
]);
|
||||
|
||||
disabledTests = [
|
||||
# Test requires network access
|
||||
+2
-8
@@ -1,15 +1,9 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, toml
|
||||
, poetry
|
||||
, poetry-semver
|
||||
, pyyaml
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
with python3.pkgs; buildPythonApplication rec {
|
||||
pname = "poetry2conda";
|
||||
version = "0.3.0";
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
with python3.pkgs; buildPythonApplication rec {
|
||||
pname = "rfc-bibtex";
|
||||
version = "0.3.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iluxonchik";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-bPCNQqiG50vWVFA6J2kyxftwsXunHTNBdSkoIRYkb0s=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
vcrpy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rfc_bibtex"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/iluxonchik/rfc-bibtex/";
|
||||
description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
}
|
||||
@@ -737,6 +737,8 @@ with pkgs;
|
||||
|
||||
owl = callPackage ../tools/networking/owl { };
|
||||
|
||||
mutmut = callPackage ../development/tools/mutmut { };
|
||||
|
||||
packcc = callPackage ../development/tools/packcc { };
|
||||
|
||||
packer = callPackage ../development/tools/packer { };
|
||||
@@ -2411,7 +2413,7 @@ with pkgs;
|
||||
|
||||
cod = callPackage ../tools/misc/cod { };
|
||||
|
||||
codespell = with python3Packages; toPythonApplication codespell;
|
||||
codespell = callPackage ../development/tools/codespell { };
|
||||
|
||||
coolreader = libsForQt5.callPackage ../applications/misc/coolreader {};
|
||||
|
||||
@@ -3088,6 +3090,8 @@ with pkgs;
|
||||
|
||||
tezos-rust-libs = callPackage ../development/libraries/tezos-rust-libs { };
|
||||
|
||||
behave = with python3Packages; toPythonApplication behave;
|
||||
|
||||
behdad-fonts = callPackage ../data/fonts/behdad-fonts { };
|
||||
|
||||
bfetch = callPackage ../tools/misc/bfetch { };
|
||||
@@ -4519,6 +4523,8 @@ with pkgs;
|
||||
|
||||
notify = callPackage ../tools/misc/notify { };
|
||||
|
||||
notifymuch = callPackage ../applications/misc/notifymuch { };
|
||||
|
||||
npins = callPackage ../tools/nix/npins { };
|
||||
|
||||
nrsc5 = callPackage ../applications/misc/nrsc5 { };
|
||||
@@ -7250,6 +7256,8 @@ with pkgs;
|
||||
hamlib = hamlib_4;
|
||||
};
|
||||
|
||||
gprof2dot = with python3Packages; toPythonApplication gprof2dot;
|
||||
|
||||
gprojector = callPackage ../applications/science/astronomy/gprojector { };
|
||||
|
||||
gptfdisk = callPackage ../tools/system/gptfdisk { };
|
||||
@@ -8028,6 +8036,8 @@ with pkgs;
|
||||
|
||||
jsawk = callPackage ../tools/text/jsawk { };
|
||||
|
||||
jsbeautifier = with python3Packages; toPythonApplication jsbeautifier;
|
||||
|
||||
jscoverage = callPackage ../development/tools/misc/jscoverage { };
|
||||
|
||||
jsduck = callPackage ../development/tools/jsduck { };
|
||||
@@ -10391,6 +10401,8 @@ with pkgs;
|
||||
|
||||
pyocd = python3Packages.callPackage ../development/embedded/pyocd { };
|
||||
|
||||
pypass = with python3Packages; toPythonApplication pypass;
|
||||
|
||||
pyspread = libsForQt5.callPackage ../applications/office/pyspread { };
|
||||
|
||||
teapot = callPackage ../applications/office/teapot { };
|
||||
@@ -13409,6 +13421,8 @@ with pkgs;
|
||||
|
||||
fasmg = callPackage ../development/compilers/fasmg { };
|
||||
|
||||
filecheck = with python3Packages; toPythonApplication filecheck;
|
||||
|
||||
firrtl = callPackage ../development/compilers/firrtl { };
|
||||
|
||||
flasm = callPackage ../development/compilers/flasm { };
|
||||
@@ -15509,7 +15523,7 @@ with pkgs;
|
||||
inherit pkgs lib;
|
||||
};
|
||||
|
||||
poetry2conda = python3Packages.callPackage ../development/python-modules/poetry2conda { };
|
||||
poetry2conda = callPackage ../tools/package-management/poetry2conda { };
|
||||
|
||||
pip-audit = callPackage ../development/tools/pip-audit {};
|
||||
|
||||
@@ -16698,6 +16712,8 @@ with pkgs;
|
||||
|
||||
graphene = callPackage ../development/libraries/graphene { };
|
||||
|
||||
griffe = with python3Packages; toPythonApplication griffe;
|
||||
|
||||
gtk-doc = callPackage ../development/tools/documentation/gtk-doc { };
|
||||
|
||||
gtkdialog = callPackage ../development/tools/misc/gtkdialog { };
|
||||
@@ -17625,6 +17641,8 @@ with pkgs;
|
||||
|
||||
mypy = with python3Packages; toPythonApplication mypy;
|
||||
|
||||
mypy-protobuf = with python3Packages; toPythonApplication mypy-protobuf;
|
||||
|
||||
nsis = callPackage ../development/tools/nsis { };
|
||||
|
||||
tockloader = callPackage ../development/tools/misc/tockloader { };
|
||||
@@ -21187,6 +21205,10 @@ with pkgs;
|
||||
openslp = callPackage ../development/libraries/openslp {};
|
||||
|
||||
openstackclient = with python3Packages; toPythonApplication python-openstackclient;
|
||||
glanceclient = with python3Packages; toPythonApplication python-glanceclient;
|
||||
heatclient = with python3Packages; toPythonApplication python-heatclient;
|
||||
ironicclient = with python3Packages; toPythonApplication python-ironicclient;
|
||||
manilaclient = with python3Packages; toPythonApplication python-manilaclient;
|
||||
|
||||
openvdb = callPackage ../development/libraries/openvdb {};
|
||||
|
||||
@@ -27683,7 +27705,7 @@ with pkgs;
|
||||
|
||||
gg-scm = callPackage ../applications/version-management/git-and-tools/gg { };
|
||||
|
||||
gigalixir = with python3Packages; toPythonApplication gigalixir;
|
||||
gigalixir = callPackage ../tools/misc/gigalixir { };
|
||||
|
||||
go-libp2p-daemon = callPackage ../servers/go-libp2p-daemon { };
|
||||
|
||||
@@ -33116,6 +33138,8 @@ with pkgs;
|
||||
|
||||
nux = callPackage ../tools/misc/nux { };
|
||||
|
||||
phonemizer = with python3Packages; toPythonApplication phonemizer;
|
||||
|
||||
tts = callPackage ../tools/audio/tts { };
|
||||
|
||||
### GAMES
|
||||
@@ -36429,7 +36453,7 @@ with pkgs;
|
||||
|
||||
renderizer = callPackage ../development/tools/renderizer {};
|
||||
|
||||
rfc-bibtex = python3Packages.callPackage ../development/python-modules/rfc-bibtex { };
|
||||
rfc-bibtex = callPackage ../tools/typesetting/rfc-bibtex { };
|
||||
|
||||
pick-colour-picker = python3Packages.callPackage ../applications/graphics/pick-colour-picker {
|
||||
inherit glib gtk3 gobject-introspection wrapGAppsHook;
|
||||
|
||||
@@ -43,6 +43,7 @@ mapAliases ({
|
||||
bt_proximity = throw "'bt_proximity' has been renamed to/replaced by 'bt-proximity'"; # Converted to throw 2022-09-24
|
||||
carrot = throw "carrot has been removed, as its development was discontinued in 2012"; # added 2022-01-18
|
||||
class-registry = phx-class-registry; # added 2021-10-05
|
||||
codespell = throw "codespell has been promoted to a top-level attribute"; # Added 2022-10-02
|
||||
ConfigArgParse = throw "'ConfigArgParse' has been renamed to/replaced by 'configargparse'"; # Converted to throw 2022-09-24
|
||||
cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14
|
||||
cryptography_vectors = "cryptography_vectors is no longer exposed in python*Packages because it is used for testing cryptography only."; # Added 2022-03-23
|
||||
@@ -73,6 +74,7 @@ mapAliases ({
|
||||
flask_testing = flask-testing; # added 2022-04-25
|
||||
flask_wtf = flask-wtf; # added 2022-05-24
|
||||
garminconnect-ha = garminconnect; # added 2022-02-05
|
||||
gigalixir = throw "gigalixir has been promoted to a top-level attribute"; # Added 2022-10-02
|
||||
glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28
|
||||
google_api_python_client = throw "'google_api_python_client' has been renamed to/replaced by 'google-api-python-client'"; # Converted to throw 2022-09-24
|
||||
googleapis_common_protos = throw "'googleapis_common_protos' has been renamed to/replaced by 'googleapis-common-protos'"; # Converted to throw 2022-09-24
|
||||
@@ -101,14 +103,17 @@ mapAliases ({
|
||||
mailman-web = throw "Please use pkgs.mailman-web"; # added 2022-04-29
|
||||
mistune_0_8 = throw "mistune_0_8 was removed because it was outdated and insecure"; # added 2022-08-12
|
||||
mistune_2_0 = mistune; # added 2022-08-12
|
||||
mutmut = throw "mutmut has been promoted to a top-level attribute"; # added 2022-10-02
|
||||
net2grid = gridnet; # add 2022-04-22
|
||||
nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16
|
||||
notifymuch = throw "notifymuch has been promoted to a top-level attribute"; # added 2022-10-02
|
||||
ordereddict = throw "ordereddict has been removed because it is only useful on unsupported python versions."; # added 2022-05-28
|
||||
pam = python-pam; # added 2020-09-07.
|
||||
PasteDeploy = pastedeploy; # added 2021-10-07
|
||||
pathpy = path; # added 2022-04-12
|
||||
pdfminer = pdfminer-six; # added 2022-05-25
|
||||
pep257 = pydocstyle; # added 2022-04-12
|
||||
poetry2conda = throw "poetry2conda was promoted to a top-level attribute"; # Added 2022-10-02
|
||||
poster3 = throw "poster3 is unmaintained and source is no longer available"; # added 2023-05-29
|
||||
postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29
|
||||
powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
|
||||
|
||||
@@ -1962,8 +1962,6 @@ in {
|
||||
|
||||
codepy = callPackage ../development/python-modules/codepy { };
|
||||
|
||||
codespell = callPackage ../development/python-modules/codespell { };
|
||||
|
||||
cogapp = callPackage ../development/python-modules/cogapp { };
|
||||
|
||||
coinmetrics-api-client = callPackage ../development/python-modules/coinmetrics-api-client { };
|
||||
@@ -3739,8 +3737,6 @@ in {
|
||||
|
||||
gidgethub = callPackage ../development/python-modules/gidgethub { };
|
||||
|
||||
gigalixir = callPackage ../development/python-modules/gigalixir { };
|
||||
|
||||
gin-config = callPackage ../development/python-modules/gin-config { };
|
||||
|
||||
gios = callPackage ../development/python-modules/gios { };
|
||||
@@ -5950,8 +5946,6 @@ in {
|
||||
|
||||
mutf8 = callPackage ../development/python-modules/mutf8 { };
|
||||
|
||||
mutmut = callPackage ../development/python-modules/mutmut { };
|
||||
|
||||
mujson = callPackage ../development/python-modules/mujson { };
|
||||
|
||||
mwclient = callPackage ../development/python-modules/mwclient { };
|
||||
@@ -6252,8 +6246,6 @@ in {
|
||||
|
||||
notify2 = callPackage ../development/python-modules/notify2 { };
|
||||
|
||||
notifymuch = callPackage ../development/python-modules/notifymuch {};
|
||||
|
||||
notmuch = callPackage ../development/python-modules/notmuch {
|
||||
inherit (pkgs) notmuch;
|
||||
};
|
||||
@@ -7157,8 +7149,6 @@ in {
|
||||
|
||||
poetry-semver = callPackage ../development/python-modules/poetry-semver { };
|
||||
|
||||
poetry2conda = callPackage ../development/python-modules/poetry2conda { };
|
||||
|
||||
poezio = callPackage ../applications/networking/instant-messengers/poezio { };
|
||||
|
||||
polars = callPackage ../development/python-modules/polars { };
|
||||
|
||||
Reference in New Issue
Block a user