python.pkgs.appnope: move expression
This commit is contained in:
parent
5d3f5bb61e
commit
865ffc16ce
21
pkgs/development/python-modules/appnope/default.nix
Normal file
21
pkgs/development/python-modules/appnope/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "appnope";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Disable App Nap on macOS";
|
||||
homepage = https://pypi.python.org/pypi/appnope;
|
||||
platforms = lib.platforms.darwin;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -571,22 +571,7 @@ in {
|
|||
|
||||
application = callPackage ../development/python-modules/application { };
|
||||
|
||||
appnope = buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
name = "appnope-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/a/appnope/${name}.tar.gz";
|
||||
sha256 = "8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Disable App Nap on macOS";
|
||||
homepage = https://pypi.python.org/pypi/appnope;
|
||||
platforms = platforms.darwin;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
};
|
||||
appnope = callPackage ../development/python-modules/appnope { };
|
||||
|
||||
apsw = callPackage ../development/python-modules/apsw {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue