-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
68 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
pkgs/development/python-modules/unittest-xml-reporting/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters