buildPythonApplication: use new function for Python applications

This commit is contained in:
Frederik Rietdijk
2016-02-19 13:16:41 +01:00
parent dda9f0ba23
commit 4d06bf70f4
133 changed files with 195 additions and 195 deletions
@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonPackages }:
{ stdenv, buildPythonApplication, fetchFromGitHub, pythonPackages }:
buildPythonPackage rec {
buildPythonApplication rec {
name = "beets-alternatives-${version}";
version = "0.8.2";
+3 -3
View File
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, writeScript, glibcLocales
, buildPythonPackage, pythonPackages, python, imagemagick
, buildPythonApplication, pythonPackages, python, imagemagick
, enableAcousticbrainz ? true
, enableAcoustid ? true
@@ -68,7 +68,7 @@ let
testShell = "${bashInteractive}/bin/bash --norc";
completion = "${bashCompletion}/share/bash-completion/bash_completion";
in buildPythonPackage rec {
in buildPythonApplication rec {
name = "beets-${version}";
version = "1.3.17";
namePrefix = "";
@@ -103,7 +103,7 @@ in buildPythonPackage rec {
++ optional enableThumbnails pythonPackages.pyxdg
++ optional enableWeb pythonPackages.flask
++ optional enableAlternatives (import ./alternatives-plugin.nix {
inherit stdenv buildPythonPackage pythonPackages fetchFromGitHub;
inherit stdenv buildPythonApplication pythonPackages fetchFromGitHub;
});
buildInputs = with pythonPackages; [