Remove lint from Sasview package
This commit is contained in:
parent
068d792fed
commit
392def733b
@ -1,9 +1,27 @@
|
|||||||
{lib, fetchgit, gcc, python}:
|
{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 {
|
python.pkgs.buildPythonApplication rec {
|
||||||
name = "sasview-${version}";
|
pname = "sasview";
|
||||||
version = "4.1.2";
|
version = "4.1.2";
|
||||||
|
|
||||||
|
buildInputs = with python.pkgs; [
|
||||||
|
pytest
|
||||||
|
unittest-xml-reporting];
|
||||||
|
|
||||||
propagatedBuildInputs = with python.pkgs; [
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
bumps
|
bumps
|
||||||
gcc
|
gcc
|
||||||
@ -17,13 +35,11 @@ python.pkgs.buildPythonApplication rec {
|
|||||||
pillow
|
pillow
|
||||||
pylint
|
pylint
|
||||||
pyopencl
|
pyopencl
|
||||||
pytest
|
|
||||||
reportlab
|
reportlab
|
||||||
sasmodels
|
sasmodels
|
||||||
scipy
|
scipy
|
||||||
six
|
six
|
||||||
sphinx
|
sphinx
|
||||||
unittest-xml-reporting
|
|
||||||
wxPython
|
wxPython
|
||||||
xhtml2pdf];
|
xhtml2pdf];
|
||||||
|
|
||||||
@ -34,7 +50,6 @@ python.pkgs.buildPythonApplication rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patches = [./pyparsing-fix.patch ./local_config.patch];
|
patches = [./pyparsing-fix.patch ./local_config.patch];
|
||||||
sandbox = true;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://www.sasview.org;
|
homepage = https://www.sasview.org;
|
||||||
|
@ -12,7 +12,6 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "xhtml2pdf";
|
pname = "xhtml2pdf";
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
|
|
@ -1,7 +1,6 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, six}:
|
{ stdenv, buildPythonPackage, fetchPypi, six}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "bumps";
|
pname = "bumps";
|
||||||
version = "0.7.6";
|
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}:
|
{lib, fetchgit, buildPythonPackage, pytest, numpy, scipy, matplotlib, docutils}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "sasmodels-${version}";
|
pname = "sasmodels";
|
||||||
version = "0.96";
|
version = "0.96";
|
||||||
|
|
||||||
propagatedBuildInputs = [docutils matplotlib numpy pytest scipy];
|
buildInputs = [pytest];
|
||||||
|
propagatedBuildInputs = [docutils matplotlib numpy scipy];
|
||||||
|
|
||||||
preCheck = ''export HOME=$(mktemp -d)'';
|
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{
|
periodictable = callPackage ../development/python-modules/periodictable { };
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pg8000 = buildPythonPackage rec {
|
pg8000 = buildPythonPackage rec {
|
||||||
name = "pg8000-1.10.1";
|
name = "pg8000-1.10.1";
|
||||||
@ -17353,30 +17335,9 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
unittest-xml-reporting = buildPythonPackage rec {
|
unittest-xml-reporting = callPackage ../development/python-modules/unittest-xml-reporting { };
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "unittest-xml-reporting";
|
|
||||||
version = "2.1.1";
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [six];
|
uritemplate_py = buildPythonPackage rec {
|
||||||
|
|
||||||
# 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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
uritemplate_py = buildPythonPackage rec {
|
|
||||||
name = "uritemplate.py-${version}";
|
name = "uritemplate.py-${version}";
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
|
|
||||||
@ -17902,8 +17863,6 @@ EOF
|
|||||||
propagatedBuildInputs = with self; [ eventlib application ];
|
propagatedBuildInputs = with self; [ eventlib application ];
|
||||||
};
|
};
|
||||||
|
|
||||||
xhtml2pdf = callPackage ../development/python-modules/xhtml2pdf {};
|
|
||||||
|
|
||||||
xlib = buildPythonPackage (rec {
|
xlib = buildPythonPackage (rec {
|
||||||
name = "xlib-${version}";
|
name = "xlib-${version}";
|
||||||
version = "0.17";
|
version = "0.17";
|
||||||
|
Loading…
Reference in New Issue
Block a user