Remove lint from Sasview package
This commit is contained in:
parent
068d792fed
commit
392def733b
@ -1,9 +1,27 @@
|
||||
{lib, fetchgit, gcc, python}:
|
||||
|
||||
let
|
||||
xhtml2pdf = import ./xhtml2pdf.nix { inherit lib;
|
||||
fetchPypi = python.pkgs.fetchPypi;
|
||||
buildPythonPackage = python.pkgs.buildPythonPackage;
|
||||
html5lib = python.pkgs.html5lib;
|
||||
httplib2 = python.pkgs.httplib2;
|
||||
nose = python.pkgs.nose;
|
||||
pillow = python.pkgs.pillow;
|
||||
pypdf2 = python.pkgs.pypdf2;
|
||||
reportlab = python.pkgs.reportlab;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
name = "sasview-${version}";
|
||||
pname = "sasview";
|
||||
version = "4.1.2";
|
||||
|
||||
buildInputs = with python.pkgs; [
|
||||
pytest
|
||||
unittest-xml-reporting];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
bumps
|
||||
gcc
|
||||
@ -17,13 +35,11 @@ python.pkgs.buildPythonApplication rec {
|
||||
pillow
|
||||
pylint
|
||||
pyopencl
|
||||
pytest
|
||||
reportlab
|
||||
sasmodels
|
||||
scipy
|
||||
six
|
||||
sphinx
|
||||
unittest-xml-reporting
|
||||
wxPython
|
||||
xhtml2pdf];
|
||||
|
||||
@ -34,7 +50,6 @@ python.pkgs.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
patches = [./pyparsing-fix.patch ./local_config.patch];
|
||||
sandbox = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://www.sasview.org;
|
||||
|
@ -12,7 +12,6 @@ let
|
||||
in
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "xhtml2pdf";
|
||||
version = "0.2.1";
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, six}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "bumps";
|
||||
version = "0.7.6";
|
||||
|
||||
|
20
pkgs/development/python-modules/periodictable/default.nix
Normal file
20
pkgs/development/python-modules/periodictable/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -1,10 +1,11 @@
|
||||
{lib, fetchgit, buildPythonPackage, pytest, numpy, scipy, matplotlib, docutils}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "sasmodels-${version}";
|
||||
pname = "sasmodels";
|
||||
version = "0.96";
|
||||
|
||||
propagatedBuildInputs = [docutils matplotlib numpy pytest scipy];
|
||||
buildInputs = [pytest];
|
||||
propagatedBuildInputs = [docutils matplotlib numpy scipy];
|
||||
|
||||
preCheck = ''export HOME=$(mktemp -d)'';
|
||||
|
||||
|
@ -0,0 +1,23 @@
|
||||
{lib, fetchPypi, buildPythonPackage, six}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "unittest-xml-reporting";
|
||||
version = "2.1.1";
|
||||
|
||||
propagatedBuildInputs = [six];
|
||||
|
||||
# The tarball from Pypi doesn't actually contain the unit tests
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jwkqx5gfphkymp3xwqvlb94ng22gpbqh36vbbnsrpk1a0mammm6";
|
||||
};
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/xmlrunner/unittest-xml-reporting/tree/master/;
|
||||
description = "A unittest runner that can save test results to XML files";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ rprospero ];
|
||||
};
|
||||
}
|
@ -12278,25 +12278,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
periodictable = buildPythonPackage rec{
|
||||
name = "${pname}-${version}";
|
||||
pname = "periodictable";
|
||||
version = "1.5.0";
|
||||
|
||||
propagatedBuildInputs = with self; [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 = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ rprospero ];
|
||||
};
|
||||
};
|
||||
periodictable = callPackage ../development/python-modules/periodictable { };
|
||||
|
||||
pg8000 = buildPythonPackage rec {
|
||||
name = "pg8000-1.10.1";
|
||||
@ -17353,28 +17335,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
unittest-xml-reporting = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "unittest-xml-reporting";
|
||||
version = "2.1.1";
|
||||
|
||||
propagatedBuildInputs = with self; [six];
|
||||
|
||||
# The tarball from Pypi doesn't actually contain the unit tests
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jwkqx5gfphkymp3xwqvlb94ng22gpbqh36vbbnsrpk1a0mammm6";
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/xmlrunner/unittest-xml-reporting/tree/master/;
|
||||
description = "A unittest runner that can save test results to XML files";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ rprospero ];
|
||||
};
|
||||
};
|
||||
|
||||
unittest-xml-reporting = callPackage ../development/python-modules/unittest-xml-reporting { };
|
||||
|
||||
uritemplate_py = buildPythonPackage rec {
|
||||
name = "uritemplate.py-${version}";
|
||||
@ -17902,8 +17863,6 @@ EOF
|
||||
propagatedBuildInputs = with self; [ eventlib application ];
|
||||
};
|
||||
|
||||
xhtml2pdf = callPackage ../development/python-modules/xhtml2pdf {};
|
||||
|
||||
xlib = buildPythonPackage (rec {
|
||||
name = "xlib-${version}";
|
||||
version = "0.17";
|
||||
|
Loading…
Reference in New Issue
Block a user