Remove lint from Sasview package
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
{lib, fetchPypi, buildPythonPackage, html5lib, httplib2, nose, pillow, pypdf2, reportlab}:
|
||||
|
||||
let
|
||||
#xhtml2pdf specifically requires version "1.0b10" of html5lib
|
||||
html5 = html5lib.overrideAttrs( oldAttrs: rec{
|
||||
version = "1.0b10";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "1yd068a5c00wd0ajq0hqimv7fd82lhrw0w3s01vbhy9bbd6xapqd";
|
||||
};
|
||||
});
|
||||
in
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "xhtml2pdf";
|
||||
version = "0.2.1";
|
||||
|
||||
buildInputs = [html5];
|
||||
propagatedBuildInputs = [httplib2 nose pillow pypdf2 reportlab html5];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1n9r8zdk9gc2x539fq60bhszmd421ipj8g78zmsn3njvma1az9k1";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A pdf converter for the ReportLab Toolkit";
|
||||
homepage = https://github.com/xhtml2pdf/xhtml2pdf;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ rprospero ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user