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

34 lines
726 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "f90nml";
version = "1.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "marshallward";
repo = pname;
rev = "v" + version;
hash = "sha256-nSpVBAS2VvXIQwYK/qVVzEc13bicAQ+ScXpO4Rn2O+8=";
};
build-system = [ setuptools-scm ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "f90nml" ];
meta = {
description = "Python module for working with Fortran Namelists";
mainProgram = "f90nml";
homepage = "https://f90nml.readthedocs.io";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ loicreynier ];
};
}