depot/third_party/nixpkgs/pkgs/development/python-modules/aocd-example-parser/default.nix

38 lines
836 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "aocd-example-parser";
version = "unstable-2023-12-17";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "wimglenn";
repo = "aocd-example-parser";
rev = "07330183f3e43401444fe17b08d72eb6168504e1";
hash = "sha256-iOxqzZj29aY/xyigir1KOU6GcBBvnlxEOBLHChEQjf4=";
};
nativeBuildInputs = [
flit-core
];
# Circular dependency with aocd
# pythonImportsCheck = [
# "aocd_example_parser"
# ];
meta = with lib; {
description = "Default implementation of an example parser plugin for advent-of-code-data";
homepage = "https://github.com/wimglenn/aocd-example-parser";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}