Files
nixpkgs/pkgs/development/python-modules/dinghy/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

64 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
aiofiles,
aiohttp,
backports-datetime-fromisoformat,
click,
click-log,
emoji,
glom,
jinja2,
pyyaml,
freezegun,
setuptools,
}:
buildPythonPackage rec {
pname = "dinghy";
version = "1.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "nedbat";
repo = "dinghy";
tag = version;
hash = "sha256-51BXQdDxlI6+3ctDSa/6tyRXBb1E9BVej9qy7WtkOGM=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aiofiles
aiohttp
backports-datetime-fromisoformat
click
click-log
emoji
glom
jinja2
pyyaml
];
nativeCheckInputs = [
freezegun
pytestCheckHook
];
pythonImportsCheck = [ "dinghy.cli" ];
meta = {
description = "GitHub activity digest tool";
mainProgram = "dinghy";
homepage = "https://github.com/nedbat/dinghy";
changelog = "https://github.com/nedbat/dinghy/blob/${src.tag}/CHANGELOG.rst";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
trundle
veehaitch
];
};
}