mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 21:04:30 +00:00
Merge pull request #124754 from domenkozar/patray
Patray: Yet another tray pulseaudio frontend
This commit is contained in:
commit
25e34de487
19
pkgs/development/python-modules/cock/default.nix
Normal file
19
pkgs/development/python-modules/cock/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, locale, pytestCheckHook, click, sortedcontainers, pyyaml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cock";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gwaklvwlyvhz2c07hdmhbnqqmpybssxzzr0399dpjk7dgdqgam3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click sortedcontainers pyyaml ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pohmelie/cock";
|
||||
description = "Configuration file with click";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -4,11 +4,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-api-python-client";
|
||||
version = "2.0.2";
|
||||
version = "2.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04c0c8m4c7lzqv0m3jm0zks9wjcv1myas80rxswvi36wn376qs28";
|
||||
sha256 = "1s1q1nw05925ryvnycq4bmqrxc14cicdl1j4l9xvyis26cjg71va";
|
||||
};
|
||||
|
||||
# No tests included in archive
|
||||
|
43
pkgs/tools/audio/patray/default.nix
Normal file
43
pkgs/tools/audio/patray/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, python3
|
||||
, qt5
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "patray";
|
||||
version = "0.1.1";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit version pname;
|
||||
sha256 = "0vaapn2p4257m1d5nbnwnh252b7lhl00560gr9pqh2b7xqm1bh6g";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i '30i entry_points = { "console_scripts": [ "patray = patray.__main__:main" ] },' setup.py
|
||||
sed -i 's/production.txt/production.in/' setup.py
|
||||
sed -i '/pyside2/d' requirements/production.in
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pulsectl
|
||||
loguru
|
||||
cock
|
||||
pyside2
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
postFixup = ''
|
||||
wrapQtApp $out/bin/patray
|
||||
'';
|
||||
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "Yet another tray pulseaudio frontend";
|
||||
homepage = "https://github.com/pohmelie/patray";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
}
|
@ -7159,6 +7159,8 @@ in
|
||||
|
||||
pandoc-plantuml-filter = python3Packages.callPackage ../tools/misc/pandoc-plantuml-filter { };
|
||||
|
||||
patray = callPackage ../tools/audio/patray { };
|
||||
|
||||
pasystray = callPackage ../tools/audio/pasystray { };
|
||||
|
||||
pcmsolver = callPackage ../development/libraries/pcmsolver { };
|
||||
|
@ -1397,6 +1397,8 @@ in {
|
||||
|
||||
clf = callPackage ../development/python-modules/clf { };
|
||||
|
||||
cock = callPackage ../development/python-modules/cock { };
|
||||
|
||||
click = callPackage ../development/python-modules/click { };
|
||||
|
||||
clickclick = callPackage ../development/python-modules/clickclick { };
|
||||
|
Loading…
Reference in New Issue
Block a user