python3Packages.lightparam: fix source and deps
This commit is contained in:
parent
a9162ffdaa
commit
2a35f66439
@ -1,24 +1,31 @@
|
|||||||
{ lib, pkgs, buildPythonPackage, fetchPypi, isPy3k
|
{ lib, pkgs, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||||
|
, ipython
|
||||||
|
, ipywidgets
|
||||||
, numpy
|
, numpy
|
||||||
|
, pyqt5
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "lightparam";
|
pname = "lightparam";
|
||||||
version = "0.4.6";
|
version = "0.4.6";
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
format = "wheel";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "portugueslab";
|
||||||
format = "wheel";
|
repo = pname;
|
||||||
python = "py3";
|
rev = "v${version}";
|
||||||
sha256 = "eca63016524208afb6a06db19baf659e698cce3ae2e57be15b37bc988549c631";
|
sha256 = "13hlkvjcyz2lhvlfqyavja64jccbidshhs39sl4fibrn9iq34s3i";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
ipython
|
||||||
|
ipywidgets
|
||||||
numpy
|
numpy
|
||||||
|
pyqt5
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "lightparam" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/portugueslab/lightparam";
|
homepage = "https://github.com/portugueslab/lightparam";
|
||||||
description = "Another attempt at parameters in Python";
|
description = "Another attempt at parameters in Python";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user