flent: use fetchPypi

This commit is contained in:
Manuel Mendez 2019-08-08 08:51:44 -04:00
parent 1ba444e400
commit a88232c31a

View file

@ -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 ];