Skip to content

Commit

Permalink
python3Packages.airportsdata: init at 20241001
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldk committed Nov 19, 2024
1 parent cbe59f3 commit f61ddfc
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/airportsdata/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:

buildPythonPackage rec {
pname = "airportsdata";
version = "20241001";
pyproject = true;

disabled = pythonOlder "3.9";

src = fetchPypi {
inherit pname version;
hash = "sha256-+gvRQ7T0vjVXy4kvoGEu8hD9kakr1yC02CId5Xak+gA=";
};

build-system = [ setuptools ];

pythonImportsCheck = [ "airportsdata" ];

meta = {
description = "Extensive database of location and timezone data for nearly every operational airport";
homepage = "https://github.com/mborsetti/airportsdata/";
changelog = "https://github.com/mborsetti/airportsdata/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ danieldk ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ self: super: with self; {

aafigure = callPackage ../development/python-modules/aafigure { };

airportsdata = callPackage ../development/python-modules/airportsdata { };

aardwolf = callPackage ../development/python-modules/aardwolf { };

abjad = callPackage ../development/python-modules/abjad { };
Expand Down

0 comments on commit f61ddfc

Please sign in to comment.