From 6b1caefdc0e13a6f53de0e50c1497b65457714a3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 4 Dec 2022 09:19:33 +0000 Subject: [PATCH 1/2] python310Packages.aocd: 1.2.3 -> 1.3.1 --- pkgs/development/python-modules/aocd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aocd/default.nix b/pkgs/development/python-modules/aocd/default.nix index 303a57da19da..7593a3f74541 100644 --- a/pkgs/development/python-modules/aocd/default.nix +++ b/pkgs/development/python-modules/aocd/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "aocd"; - version = "1.2.3"; + version = "1.3.1"; src = fetchFromGitHub { owner = "wimglenn"; repo = "advent-of-code-data"; rev = "refs/tags/v${version}"; - sha256 = "sha256-//f/VWrTKukpNea8xprGQ7jobw10g5MQnnuM6/bAcGw="; + sha256 = "sha256-xns//QAAYw9+Md0THUxFUxnqCDoS1qGslX6CFbIALng="; }; propagatedBuildInputs = [ From cc75413251fe574d54d01e4f2e88a20d672173b3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 4 Dec 2022 13:56:51 +0100 Subject: [PATCH 2/2] python310Packages.aocd: add changelog to meta --- .../python-modules/aocd/default.nix | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aocd/default.nix b/pkgs/development/python-modules/aocd/default.nix index 7593a3f74541..eb33639b8b8f 100644 --- a/pkgs/development/python-modules/aocd/default.nix +++ b/pkgs/development/python-modules/aocd/default.nix @@ -1,18 +1,35 @@ -{ lib, stdenv, buildPythonPackage, fetchFromGitHub, requests -, pytestCheckHook, tzlocal, pytest-mock, pytest-freezegun, pytest-raisin -, pytest-socket, requests-mock, pebble, python-dateutil, termcolor -, beautifulsoup4, setuptools +{ lib +, stdenv +, buildPythonPackage +, fetchFromGitHub +, requests +, pytestCheckHook +, tzlocal +, pytest-mock +, pytest-freezegun +, pytest-raisin +, pytest-socket +, requests-mock +, pebble +, python-dateutil +, termcolor +, beautifulsoup4 +, setuptools +, pythonOlder }: buildPythonPackage rec { pname = "aocd"; version = "1.3.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "wimglenn"; repo = "advent-of-code-data"; rev = "refs/tags/v${version}"; - sha256 = "sha256-xns//QAAYw9+Md0THUxFUxnqCDoS1qGslX6CFbIALng="; + hash = "sha256-xns//QAAYw9+Md0THUxFUxnqCDoS1qGslX6CFbIALng="; }; propagatedBuildInputs = [ @@ -46,11 +63,14 @@ buildPythonPackage rec { requests-mock ]; - pythonImportsCheck = [ "aocd" ]; + pythonImportsCheck = [ + "aocd" + ]; meta = with lib; { - homepage = "https://github.com/wimglenn/advent-of-code-data"; description = "Get your Advent of Code data with a single import statement"; + homepage = "https://github.com/wimglenn/advent-of-code-data"; + changelog = "https://github.com/wimglenn/advent-of-code-data/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ aadibajpai ]; platforms = platforms.unix;