From 4520cb7f0ebbc41d9655fc2cc064ecfa56aa2f44 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Thu, 12 Aug 2021 18:10:02 +0200 Subject: [PATCH 1/2] pythonPackages.docopt-ng: init at 0.7.2 --- .../python-modules/docopt-ng/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/docopt-ng/default.nix diff --git a/pkgs/development/python-modules/docopt-ng/default.nix b/pkgs/development/python-modules/docopt-ng/default.nix new file mode 100644 index 000000000000..7a18bfbc7cfa --- /dev/null +++ b/pkgs/development/python-modules/docopt-ng/default.nix @@ -0,0 +1,24 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "docopt-ng"; + version = "0.7.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-hs7qAy8M+lnmB3brDPOKxzZTWBAihyMg9H3IdGeNckQ="; + }; + + pythonImportsCheck = [ "docopt" ]; + doCheck = false; # no tests in the package + + meta = with lib; { + description = "More-magic command line arguments parser. Now with more maintenance!"; + homepage = "https://github.com/bazaar-projects/docopt-ng"; + license = licenses.mit; + maintainers = with maintainers; [ fgaz ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 86042f35b2b2..67b6fefd7263 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2165,6 +2165,8 @@ in { docopt = callPackage ../development/python-modules/docopt { }; + docopt-ng = callPackage ../development/python-modules/docopt-ng { }; + docplex = callPackage ../development/python-modules/docplex { }; docrep = callPackage ../development/python-modules/docrep { }; From ea4697e414ab8ae30dcadca50ffa926a7603d7d8 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Thu, 12 Aug 2021 18:43:07 +0200 Subject: [PATCH 2/2] staticjinja: 3.0.1 -> 4.1.0 --- .../doc/manual/from_md/release-notes/rl-2111.section.xml | 2 +- nixos/doc/manual/release-notes/rl-2111.section.md | 2 +- pkgs/development/python-modules/staticjinja/default.nix | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml index 37dfc3987341..e808951880ca 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml @@ -273,7 +273,7 @@ Superuser created successfully. The staticjinja package has been upgraded - from 1.0.4 to 3.0.1 + from 1.0.4 to 4.1.0 diff --git a/nixos/doc/manual/release-notes/rl-2111.section.md b/nixos/doc/manual/release-notes/rl-2111.section.md index 2c1886a4deb2..16489afc60f5 100644 --- a/nixos/doc/manual/release-notes/rl-2111.section.md +++ b/nixos/doc/manual/release-notes/rl-2111.section.md @@ -105,7 +105,7 @@ subsonic-compatible api. Available as [navidrome](#opt-services.navidrome.enable Superuser created successfully. ``` -- The `staticjinja` package has been upgraded from 1.0.4 to 3.0.1 +- The `staticjinja` package has been upgraded from 1.0.4 to 4.1.0 - The `erigon` ethereum node has moved to a new database format in `2021-05-04`, and requires a full resync diff --git a/pkgs/development/python-modules/staticjinja/default.nix b/pkgs/development/python-modules/staticjinja/default.nix index dc36066ec304..2223f4b6c529 100644 --- a/pkgs/development/python-modules/staticjinja/default.nix +++ b/pkgs/development/python-modules/staticjinja/default.nix @@ -2,7 +2,7 @@ , fetchFromGitHub , buildPythonPackage , poetry -, docopt +, docopt-ng , easywatch , jinja2 , pytestCheckHook @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "staticjinja"; - version = "3.0.1"; + version = "4.1.0"; format = "pyproject"; # No tests in pypi @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "staticjinja"; repo = pname; rev = version; - sha256 = "sha256-W4q0vG8Kl2gCmA8UnUbdiGRtghhdnWxIJXFIIa6BogA="; + sha256 = "sha256-4IL+7ncJPd1e7k5oFRjQ6yvDjozcBAAZPf88biNTiLU="; }; nativeBuildInputs = [ @@ -31,7 +31,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ jinja2 - docopt + docopt-ng easywatch ];