From b0b81b0c1821276a89f44d80cb6f00091fbece8f Mon Sep 17 00:00:00 2001 From: "eyjhbb@gmail.com" Date: Tue, 23 Jul 2019 16:56:25 +0200 Subject: [PATCH] pythonPackages.update-dotdee: init at 5.0 --- .../python-modules/update-dotdee/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/python-packages.nix | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/update-dotdee/default.nix diff --git a/pkgs/development/python-modules/update-dotdee/default.nix b/pkgs/development/python-modules/update-dotdee/default.nix new file mode 100644 index 000000000000..b537ca8c264a --- /dev/null +++ b/pkgs/development/python-modules/update-dotdee/default.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchFromGitHub, executor, naturalsort }: + +buildPythonPackage rec { + pname = "update-dotdee"; + version = "5.0"; + + src = fetchFromGitHub { + owner = "xolox"; + repo = "python-update-dotdee"; + rev = version; + sha256 = "1h3m593nwzx6vwa24k0wizb7la49yhqxwn73ipclxgxxi4dfdj01"; + }; + + propagatedBuildInputs = [ executor naturalsort ]; + + meta = with lib; { + description = "Generic modularized configuration file manager"; + homepage = https://github.com/xolox/python-update-dotdee; + license = licenses.mit; + maintainers = with maintainers; [ eyjhb ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 74b7e0afb2b8..9f00c228063b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5090,6 +5090,8 @@ in oppai-ng = callPackage ../tools/misc/oppai-ng { }; + update-dotdee = with python3Packages; toPythonApplication update-dotdee; + update-resolv-conf = callPackage ../tools/networking/openvpn/update-resolv-conf.nix { }; opae = callPackage ../development/libraries/opae { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b162718aafd2..84e3047568d0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4807,6 +4807,8 @@ in { update-copyright = callPackage ../development/python-modules/update-copyright {}; + update-dotdee = callPackage ../development/python-modules/update-dotdee { }; + uritemplate = callPackage ../development/python-modules/uritemplate { }; uproot = callPackage ../development/python-modules/uproot {};