From df5482169e79913e97a090d9557612660fddf007 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 5 Nov 2023 10:17:18 +0000 Subject: [PATCH 1/4] python310Packages.derpconf: 0.8.3 -> 0.8.4 --- pkgs/development/python-modules/derpconf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/derpconf/default.nix b/pkgs/development/python-modules/derpconf/default.nix index cc7b6870ad82b..d6d4269c6194a 100644 --- a/pkgs/development/python-modules/derpconf/default.nix +++ b/pkgs/development/python-modules/derpconf/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "derpconf"; - version = "0.8.3"; + version = "0.8.4"; src = fetchPypi { inherit pname version; - sha256 = "1bb152d8a1cf5c2a6d629bf29acd4af0c00811339642fc0a56172b0a83b31a15"; + sha256 = "sha256-66MOqcWIiqJrORJDgAH5iUblHyqJvuf9DIBN56XjKwU="; }; propagatedBuildInputs = [ six ]; From 3be3df0702c524adbd8c23491d48803c89830bfb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 5 Nov 2023 12:18:36 +0100 Subject: [PATCH 2/4] python310Packages.derpconf: add changelog to meta --- pkgs/development/python-modules/derpconf/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/derpconf/default.nix b/pkgs/development/python-modules/derpconf/default.nix index d6d4269c6194a..c74ed8aa85687 100644 --- a/pkgs/development/python-modules/derpconf/default.nix +++ b/pkgs/development/python-modules/derpconf/default.nix @@ -14,6 +14,7 @@ buildPythonPackage rec { meta = with lib; { description = "derpconf abstracts loading configuration files for your app"; homepage = "https://github.com/globocom/derpconf"; + changelog = "https://github.com/globocom/derpconf/releases/tag/${version}"; license = licenses.mit; }; } From 7473be8fbd88f16f7fa6f83f01377133de39dccd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 5 Nov 2023 12:22:28 +0100 Subject: [PATCH 3/4] python310Packages.derpconf: add pythonImportsCheck --- .../python-modules/derpconf/default.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/derpconf/default.nix b/pkgs/development/python-modules/derpconf/default.nix index c74ed8aa85687..bb8441cdc3f71 100644 --- a/pkgs/development/python-modules/derpconf/default.nix +++ b/pkgs/development/python-modules/derpconf/default.nix @@ -1,4 +1,8 @@ -{ lib, buildPythonPackage, fetchPypi, six }: +{ lib +, buildPythonPackage +, fetchPypi +, six +}: buildPythonPackage rec { pname = "derpconf"; @@ -9,12 +13,19 @@ buildPythonPackage rec { sha256 = "sha256-66MOqcWIiqJrORJDgAH5iUblHyqJvuf9DIBN56XjKwU="; }; - propagatedBuildInputs = [ six ]; + propagatedBuildInputs = [ + six + ]; + + pythonImportsCheck = [ + "derpconf" + ]; meta = with lib; { - description = "derpconf abstracts loading configuration files for your app"; + description = "Module to abstract loading configuration files for your app"; homepage = "https://github.com/globocom/derpconf"; changelog = "https://github.com/globocom/derpconf/releases/tag/${version}"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; } From 5bc96d1b9d3234222001c78c114a54620d4bfab5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 5 Nov 2023 12:23:51 +0100 Subject: [PATCH 4/4] python310Packages.derpconf: add format - disable on unsupported Python releases --- pkgs/development/python-modules/derpconf/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/derpconf/default.nix b/pkgs/development/python-modules/derpconf/default.nix index bb8441cdc3f71..b3a4dd9d35d81 100644 --- a/pkgs/development/python-modules/derpconf/default.nix +++ b/pkgs/development/python-modules/derpconf/default.nix @@ -2,15 +2,19 @@ , buildPythonPackage , fetchPypi , six +, pythonOlder }: buildPythonPackage rec { pname = "derpconf"; version = "0.8.4"; + format = "setuptools"; + + disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - sha256 = "sha256-66MOqcWIiqJrORJDgAH5iUblHyqJvuf9DIBN56XjKwU="; + hash = "sha256-66MOqcWIiqJrORJDgAH5iUblHyqJvuf9DIBN56XjKwU="; }; propagatedBuildInputs = [