build with pythonPackages

This commit is contained in:
Yannik Sander 2018-09-06 14:49:57 +02:00
parent 0af9072e74
commit 1245621497

View file

@ -1,5 +1,5 @@
{fetchFromGitHub, stdenv, gtk3, python34Packages, gobjectIntrospection}: {fetchFromGitHub, stdenv, gtk3, pythonPackages, gobjectIntrospection}:
python34Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
name = "solaar-unstable-${version}"; name = "solaar-unstable-${version}";
version = "2018-02-02"; version = "2018-02-02";
namePrefix = ""; namePrefix = "";
@ -10,7 +10,7 @@ python34Packages.buildPythonApplication rec {
sha256 = "0zy5vmjzdybnjf0mpp8rny11sc43gmm8172svsm9s51h7x0v83y3"; sha256 = "0zy5vmjzdybnjf0mpp8rny11sc43gmm8172svsm9s51h7x0v83y3";
}; };
propagatedBuildInputs = [python34Packages.pygobject3 python34Packages.pyudev gobjectIntrospection gtk3]; propagatedBuildInputs = [pythonPackages.pygobject3 pythonPackages.pyudev gobjectIntrospection gtk3];
postInstall = '' postInstall = ''
wrapProgram "$out/bin/solaar" \ wrapProgram "$out/bin/solaar" \
--prefix PYTHONPATH : "$PYTHONPATH" \ --prefix PYTHONPATH : "$PYTHONPATH" \