-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
887e7e5
commit aefd957
Showing
2 changed files
with
58 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
fetchFromGitHub, | ||
approvaltests, | ||
setuptools, | ||
wheel, | ||
json-rpc, | ||
mock, | ||
pytest, | ||
pyyaml, | ||
pyzmq, | ||
scanf, | ||
semantic-version, | ||
}: | ||
buildPythonPackage rec { | ||
pname = "lewis"; | ||
version = "1.3.1"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "ess-dmsc"; | ||
repo = "lewis"; | ||
rev = "v${version}"; | ||
hash = "sha256-7iMREHt6W26IzCFsRmojHqGuqIUHaCuvsKMMHuYflz0="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
setuptools | ||
wheel | ||
]; | ||
|
||
propagatedBuildInputs = [ | ||
json-rpc | ||
pyyaml | ||
pyzmq | ||
scanf | ||
semantic-version | ||
]; | ||
|
||
checkInputs = [ | ||
approvaltests | ||
mock | ||
pytest | ||
]; | ||
|
||
pythonImportsCheck = ["lewis"]; | ||
|
||
meta = with lib; { | ||
description = "Let's write intricate simulators"; | ||
homepage = "https://github.com/ess-dmsc/lewis"; | ||
license = licenses.gpl3Only; | ||
maintainers = with maintainers; [minijackson]; | ||
}; | ||
} |