gigalixir: Migrate out of python package set

This is a CLI client and not a library and as such it has no place in
the python package set.
This commit is contained in:
Martin Weinelt 2022-10-02 17:24:37 +02:00
parent c2379dbd43
commit b934a91f70
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
4 changed files with 14 additions and 28 deletions

View File

@ -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

View File

@ -27689,7 +27689,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 { };

View File

@ -73,6 +73,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

View File

@ -3739,8 +3739,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 { };