Unverified Commit 5e6c5009 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #211470 from fabaff/asn1-bump

python310Packages.asn1: 2.6.0 -> 2.7.0 
parents dcc6932f f724cc32
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -8,15 +8,16 @@

buildPythonPackage rec {
  pname = "asn1";
  version = "2.6.0";
  version = "2.7.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-pXLG2Mkrv6EeJn6Dk+SefzNtrPdQ6of95LbVTKjTADQ=";
  };

  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 ];
  };