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,11 +1,11 @@
{ stdenv, fetchurl, buildPythonPackage, pykickstart, pyparted, pyblock
{ stdenv, fetchurl, buildPythonApplication, pykickstart, pyparted, pyblock
, libselinux, cryptsetup, multipath_tools, lsof, utillinux
, useNixUdev ? true, udev ? null
}:
assert useNixUdev -> udev != null;
buildPythonPackage rec {
buildPythonApplication rec {
name = "blivet-${version}";
version = "0.17-1";
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, buildPythonPackage
{ stdenv, fetchurl, python, buildPythonApplication
# Propagated to blivet
, useNixUdev ? true
# No longer needed, but kept for backwards-compatibility with older NixOps.
@@ -9,7 +9,7 @@
let
blivet = import ./blivet.nix {
inherit stdenv fetchurl buildPythonPackage;
inherit stdenv fetchurl buildPythonApplication;
inherit pykickstart pyparted pyblock cryptsetup multipath_tools;
inherit useNixUdev;
inherit (pkgs) lsof utillinux udev;
@@ -48,15 +48,15 @@ let
};
pykickstart = import ./pykickstart.nix {
inherit stdenv fetchurl python buildPythonPackage urlgrabber;
inherit stdenv fetchurl python buildPythonApplication urlgrabber;
};
pyparted = import ./pyparted.nix {
inherit stdenv fetchurl python buildPythonPackage parted;
inherit stdenv fetchurl python buildPythonApplication parted;
inherit (pkgs) pkgconfig e2fsprogs;
};
in buildPythonPackage rec {
in buildPythonApplication rec {
name = "nixpart-${version}";
version = "0.4.1";
@@ -1,6 +1,6 @@
{ stdenv, python, buildPythonPackage, fetchurl, urlgrabber }:
{ stdenv, python, buildPythonApplication, fetchurl, urlgrabber }:
buildPythonPackage rec {
buildPythonApplication rec {
name = "pykickstart-${version}";
version = "1.99.39";
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, python, buildPythonPackage, parted, e2fsprogs }:
{ stdenv, fetchurl, pkgconfig, python, buildPythonApplication, parted, e2fsprogs }:
buildPythonPackage rec {
buildPythonApplication rec {
name = "pyparted-${version}";
version = "3.10";