mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
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:
parent
c2379dbd43
commit
b934a91f70
4 changed files with 14 additions and 28 deletions
|
@ -1,34 +1,26 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, buildPythonApplication
|
, python3
|
||||||
, click
|
|
||||||
, fetchPypi
|
|
||||||
, git
|
, git
|
||||||
, httpretty
|
|
||||||
, qrcode
|
|
||||||
, pygments
|
|
||||||
, pyopenssl
|
|
||||||
, pytestCheckHook
|
|
||||||
, requests
|
|
||||||
, rollbar
|
|
||||||
, stripe
|
|
||||||
, pythonOlder
|
|
||||||
, sure
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "gigalixir";
|
pname = "gigalixir";
|
||||||
version = "1.3.0";
|
version = "1.3.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
src = python3.pkgs.fetchPypi {
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-kNtybgv8j7t1tl6R5ZuC4vj5fnEcEenuNt0twA1kAh0=";
|
hash = "sha256-kNtybgv8j7t1tl6R5ZuC4vj5fnEcEenuNt0twA1kAh0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner'," "" \
|
||||||
|
--replace "cryptography==" "cryptography>="
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
click
|
click
|
||||||
pygments
|
pygments
|
||||||
pyopenssl
|
pyopenssl
|
||||||
|
@ -40,16 +32,11 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
git
|
git
|
||||||
|
] ++ (with python3.pkgs; [
|
||||||
httpretty
|
httpretty
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
sure
|
sure
|
||||||
];
|
]);
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "'pytest-runner'," "" \
|
|
||||||
--replace "cryptography==" "cryptography>="
|
|
||||||
'';
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test requires network access
|
# Test requires network access
|
|
@ -27689,7 +27689,7 @@ with pkgs;
|
||||||
|
|
||||||
gg-scm = callPackage ../applications/version-management/git-and-tools/gg { };
|
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 { };
|
go-libp2p-daemon = callPackage ../servers/go-libp2p-daemon { };
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,7 @@ mapAliases ({
|
||||||
flask_testing = flask-testing; # added 2022-04-25
|
flask_testing = flask-testing; # added 2022-04-25
|
||||||
flask_wtf = flask-wtf; # added 2022-05-24
|
flask_wtf = flask-wtf; # added 2022-05-24
|
||||||
garminconnect-ha = garminconnect; # added 2022-02-05
|
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
|
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
|
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
|
googleapis_common_protos = throw "'googleapis_common_protos' has been renamed to/replaced by 'googleapis-common-protos'"; # Converted to throw 2022-09-24
|
||||||
|
|
|
@ -3739,8 +3739,6 @@ in {
|
||||||
|
|
||||||
gidgethub = callPackage ../development/python-modules/gidgethub { };
|
gidgethub = callPackage ../development/python-modules/gidgethub { };
|
||||||
|
|
||||||
gigalixir = callPackage ../development/python-modules/gigalixir { };
|
|
||||||
|
|
||||||
gin-config = callPackage ../development/python-modules/gin-config { };
|
gin-config = callPackage ../development/python-modules/gin-config { };
|
||||||
|
|
||||||
gios = callPackage ../development/python-modules/gios { };
|
gios = callPackage ../development/python-modules/gios { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue