mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
python3Packages.labmath: init at 1.2.0 (#117882)
* python3Packages.labmath: init at 1.2.0 * Update pkgs/development/python-modules/labmath/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
ff0d25b9dc
commit
83f0eb535c
2 changed files with 26 additions and 0 deletions
24
pkgs/development/python-modules/labmath/default.nix
Normal file
24
pkgs/development/python-modules/labmath/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "labmath";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-/fZ61tJ6PVZsubr3OXlbg/VxyyKimz36uPV+r33kgD0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "labmath/DESCRIPTION.rst" "PKG-INFO"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "labmath" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.org/project/labmath";
|
||||
description = "Module for basic math in the general vicinity of computational number theory";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
};
|
||||
}
|
|
@ -3712,6 +3712,8 @@ in {
|
|||
|
||||
labgrid = callPackage ../development/python-modules/labgrid { };
|
||||
|
||||
labmath = callPackage ../development/python-modules/labmath { };
|
||||
|
||||
lammps-cython = callPackage ../development/python-modules/lammps-cython { };
|
||||
|
||||
langcodes = callPackage ../development/python-modules/langcodes { };
|
||||
|
|
Loading…
Reference in a new issue