aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/periodictable
diff options
context:
space:
mode:
authorAdam Washington <adam.washington@stfc.ac.uk>2018-03-22 17:44:27 +0000
committerAdam Washington <adam.washington@stfc.ac.uk>2018-03-22 17:44:27 +0000
commit392def733b61855e667c7ce7a777a6bdc397ef44 (patch)
tree31edc9ec826c696b4505a032d08b8727db61a6d4 /pkgs/development/python-modules/periodictable
parent068d792fedbfb6f14b9f7bb52179a392e6886e52 (diff)
Remove lint from Sasview package
Diffstat (limited to 'pkgs/development/python-modules/periodictable')
-rw-r--r--pkgs/development/python-modules/periodictable/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/periodictable/default.nix b/pkgs/development/python-modules/periodictable/default.nix
new file mode 100644
index 00000000000..e77c281e2c4
--- /dev/null
+++ b/pkgs/development/python-modules/periodictable/default.nix
@@ -0,0 +1,20 @@
+{lib, fetchPypi, buildPythonPackage, numpy, pyparsing}:
+
+buildPythonPackage rec{
+ pname = "periodictable";
+ version = "1.5.0";
+
+ propagatedBuildInputs = [numpy pyparsing];
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1cjk6aqcz41nxm4fpriz01vqdafd6g57cjk0wh1iklk5cx6c085h";
+ };
+
+ meta = {
+ homepage = http://www.reflectometry.org/danse/software.html;
+ description = "an extensible periodic table of the elements prepopulated with data important to neutron and x-ray scattering experiments";
+ license = lib.licenses.publicDomain;
+ maintainers = with lib.maintainers; [ rprospero ];
+ };
+}