From 715e04a72a9b2f7f0e92b24cdce03b4b5d802894 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 19 Jan 2023 08:49:10 +0100 Subject: [PATCH 1/2] python310Packages.asn1: add changelog to meta --- pkgs/development/python-modules/asn1/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/asn1/default.nix b/pkgs/development/python-modules/asn1/default.nix index 7e1b8834cd0e..3eb4c3484894 100644 --- a/pkgs/development/python-modules/asn1/default.nix +++ b/pkgs/development/python-modules/asn1/default.nix @@ -9,14 +9,15 @@ buildPythonPackage rec { pname = "asn1"; version = "2.6.0"; + format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "andrivet"; repo = "python-asn1"; - rev = "v${version}"; - sha256 = "sha256-oz9xZhFU4himXttVtfW6tTn7lfB0c7MlgxtbKxdJtUA="; + rev = "refs/tags/v${version}"; + hash = "sha256-oz9xZhFU4himXttVtfW6tTn7lfB0c7MlgxtbKxdJtUA="; }; propagatedBuildInputs = [ @@ -32,13 +33,18 @@ buildPythonPackage rec { --replace "enum-compat" "" ''; - pytestFlagsArray = [ "tests/test_asn1.py" ]; + pytestFlagsArray = [ + "tests/test_asn1.py" + ]; - pythonImportsCheck = [ "asn1" ]; + pythonImportsCheck = [ + "asn1" + ]; meta = with lib; { description = "Python ASN.1 encoder and decoder"; homepage = "https://github.com/andrivet/python-asn1"; + changelog = "https://github.com/andrivet/python-asn1/blob/v${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; From f724cc32b28405e595c4672a4b30a379149a8ea5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 19 Jan 2023 08:49:38 +0100 Subject: [PATCH 2/2] python310Packages.asn1: 2.6.0 -> 2.7.0 Diff: https://github.com/andrivet/python-asn1/compare/refs/tags/v2.6.0...v2.7.0 Changelog: https://github.com/andrivet/python-asn1/blob/v2.7.0/CHANGELOG.rst --- pkgs/development/python-modules/asn1/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asn1/default.nix b/pkgs/development/python-modules/asn1/default.nix index 3eb4c3484894..0d950092f938 100644 --- a/pkgs/development/python-modules/asn1/default.nix +++ b/pkgs/development/python-modules/asn1/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "asn1"; - version = "2.6.0"; + version = "2.7.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "andrivet"; repo = "python-asn1"; rev = "refs/tags/v${version}"; - hash = "sha256-oz9xZhFU4himXttVtfW6tTn7lfB0c7MlgxtbKxdJtUA="; + hash = "sha256-pXLG2Mkrv6EeJn6Dk+SefzNtrPdQ6of95LbVTKjTADQ="; }; propagatedBuildInputs = [