forked from mirrors/nixpkgs
Merge pull request #41862 from Assassinkin/spglib
pythonPackages.spglib: init at 1.10.3.65
This commit is contained in:
commit
cfdab10bb9
27
pkgs/development/python-modules/spglib/default.nix
Normal file
27
pkgs/development/python-modules/spglib/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, numpy, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spglib";
|
||||
version = "1.10.3.65";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "55b49227835396b2bcd6afe724e9f37202ad0f61e273bedebd5bf740bad2e8e3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkPhase = ''
|
||||
cd test
|
||||
${python.interpreter} -m unittest discover -bv
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings for C library for finding and handling crystal symmetries";
|
||||
homepage = https://atztogo.github.io/spglib;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -460,6 +460,8 @@ in {
|
|||
|
||||
sip = callPackage ../development/python-modules/sip { };
|
||||
|
||||
spglib = callPackage ../development/python-modules/spglib { };
|
||||
|
||||
supervise_api = callPackage ../development/python-modules/supervise_api { };
|
||||
|
||||
syncserver = callPackage ../development/python-modules/syncserver {};
|
||||
|
|
Loading…
Reference in a new issue