flent: use fetchPypi
This commit is contained in:
parent
1ba444e400
commit
a88232c31a
1 changed files with 4 additions and 6 deletions
|
@ -1,14 +1,12 @@
|
|||
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, procps, pyqt5
|
||||
{ stdenv, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5
|
||||
, sphinx }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "flent";
|
||||
version = "1.2.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tohojo";
|
||||
repo = "flent";
|
||||
rev = "v${version}";
|
||||
sha256 = "1llcdakk0nk9xlpjjz7mv4a80yq4sjnbqhaqvyj9m6lbcxgssh2r";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ziblk36rzr99pbi7xzzkci3sr41m0jf72v38ynp63df6szbbfjb";
|
||||
};
|
||||
|
||||
buildInputs = [ sphinx ];
|
||||
|
|
Loading…
Reference in a new issue