1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/gigalixir/default.nix

58 lines
948 B
Nix
Raw Normal View History

2021-09-23 19:37:00 +01:00
{ buildPythonApplication
, click
, fetchPypi
, git
, httpretty
, lib
, qrcode
, pygments
, pyopenssl
, pytestCheckHook
, requests
, rollbar
, stripe
, sure
}:
buildPythonApplication rec {
pname = "gigalixir";
2022-02-01 14:36:31 +00:00
version = "1.2.5";
2021-09-23 19:37:00 +01:00
src = fetchPypi {
inherit pname version;
2022-02-01 14:36:31 +00:00
sha256 = "sha256-P70xsI/zwsoSgK1XCPzJSI5NQ58M431kmgo5gHXbaNw=";
2021-09-23 19:37:00 +01:00
};
postPatch = ''
2022-01-18 16:51:33 +00:00
substituteInPlace setup.py \
--replace "'pytest-runner'," "" \
--replace "cryptography==" "cryptography>="
2021-09-23 19:37:00 +01:00
'';
propagatedBuildInputs = [
click
requests
stripe
rollbar
pygments
qrcode
pyopenssl
];
checkInputs = [
httpretty
sure
pytestCheckHook
git
];
pythonImportsCheck = [ "gigalixir" ];
meta = with lib; {
description = "Gigalixir Command-Line Interface";
homepage = "https://github.com/gigalixir/gigalixir-cli";
license = licenses.mit;
2021-11-03 00:38:27 +00:00
maintainers = with maintainers; [ ];
2021-09-23 19:37:00 +01:00
};
}