git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #138948 from fabaff/faraday-agent-parameters-types

python3Packages.faraday-agent-parameters-types: init at 1.0.1

commit91f7d46272d857c375678bd930f00a69ef53e7ad authorFabian Affolter <fabian@affolter-engineering.ch> dateThu 30 Sep 2021, 14:27 (5 years ago) parentf6fcd91835d63a
2 files changed+41
pkgs/development/python-modules/faraday-agent-parameters-types/default.nix+39 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/faraday-agent-parameters-types/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, marshmallow
5+, pytestCheckHook
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "faraday-agent-parameters-types";
10+ version = "1.0.1";
11+
12+ src = fetchPypi {
13+ pname = "faraday_agent_parameters_types";
14+ inherit version;
15+ sha256 = "0q2cngxgkvl74mhkibvdsvjjrdfd7flxd6a4776wmxkkn0brzw66";
16+ };
17+
18+ propagatedBuildInputs = [
19+ marshmallow
20+ ];
21+
22+ checkInputs = [
23+ pytestCheckHook
24+ ];
25+
26+ postPatch = ''
27+ substituteInPlace setup.py \
28+ --replace '"pytest-runner",' ""
29+ '';
30+
31+ pythonImportsCheck = [ "faraday_agent_parameters_types" ];
32+
33+ meta = with lib; {
34+ description = "Collection of Faraday agent parameters types";
35+ homepage = "https://github.com/infobyte/faraday_agent_parameters_types";
36+ license = with licenses; [ gpl3Plus ];
37+ maintainers = with maintainers; [ fab ];
38+ };
39+}
pkgs/top-level/python-packages.nix+2
@@ -2520,6 +2520,8 @@ in {
25202520
25212521 falcon = callPackage ../development/python-modules/falcon { };
25222522
2523+ faraday-agent-parameters-types = callPackage ../development/python-modules/faraday-agent-parameters-types { };
2524+
25232525 faraday-plugins = callPackage ../development/python-modules/faraday-plugins { };
25242526
25252527 fastapi = callPackage ../development/python-modules/fastapi { };