mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
python310Packages.aocd: add changelog to meta
This commit is contained in:
parent
6b1caefdc0
commit
cc75413251
1 changed files with 27 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue