-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
112 lines (96 loc) · 2.79 KB
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
python-requirements = ps: with ps; [
python-vlc
pygobject3
dbus-python
(
buildPythonPackage rec {
pname = "mpris_server";
version = "0.4.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-CjITYptnKuj/z0Y3IakyoivwdJ4+09QoJfGoUtuVwZE=";
};
doCheck = false;
propagatedBuildInputs = [
(
buildPythonPackage rec {
pname = "emoji";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "carpedm20";
repo = pname;
rev = "refs/tags/v.${version}";
hash = "sha256-Qinr9gr+Xd6l+wwksQLq7+qZn8+nhXaDehPkCPEakmM=";
};
checkInputs = [
pytestCheckHook
];
disabledTests = [
"test_emojize_name_only"
];
pythonImportsCheck = [
"emoji"
];
meta = with lib; {
description = "Emoji for Python";
homepage = "https://github.com/carpedm20/emoji/";
license = licenses.bsd3;
maintainers = with maintainers; [ joachifm ];
};
}
)
(
buildPythonPackage rec {
pname = "unidecode";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "avian2";
repo = pname;
rev = "${pname}-${version}";
hash = "sha256-G8mZd5Y+EYxHoKaW0WiGKtt4sUyVyjOVy+WoF7TjEmc=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"unidecode"
];
meta = with lib; {
description = "ASCII transliterations of Unicode text";
homepage = "https://pypi.python.org/pypi/Unidecode/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ domenkozar ];
};
}
)
pydbus
];
meta = with lib; {
homepage = "https://github.com/alexdelorenzo/mpris_server";
description = "Integrate MPRIS Media Player support into your app ";
license = "licenses.agpl3";
maintainers = with maintainers; [ alexdelorenzo ];
};
}
)
];
in
mkShell {
buildInputs = [
man
htop
vlc
pylint
gtk3
gobject-introspection
(python3.withPackages python-requirements)
git
];
}