depot/third_party/nixpkgs/pkgs/development/python-modules/pwkit/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

40 lines
820 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pwkit";
version = "1.2.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "pkgw";
repo = "pwkit";
rev = "refs/tags/pwkit@${version}";
hash = "sha256-X3nQPtPrY1+HH0Cs7PrFLqMP3fUEcwXQGap1F/3Aom0=";
};
build-system = [ setuptools ];
dependencies = [ numpy ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pwkit" ];
meta = with lib; {
description = "Miscellaneous science/astronomy tools";
homepage = "https://github.com/pkgw/pwkit/";
changelog = "https://github.com/pkgw/pwkit/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}