nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "pymitv";
10 version = "1.5.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-0n4IS5W3nvYwKdl6FVf4upRrFDGdYHohsaXadFy8d8w=";
16 };
17
18 propagatedBuildInputs = [ requests ];
19
20 # Project thas no tests
21 doCheck = false;
22 pythonImportsCheck = [ "pymitv" ];
23
24 meta = {
25 description = "Python client the Mi Tv 3";
26 homepage = "https://github.com/simse/pymitv";
27 license = with lib.licenses; [ mit ];
28 maintainers = with lib.maintainers; [ fab ];
29 };
30}