nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchPypi
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "sharkiq";
10 version = "0.0.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "e5efb0ad13a66cf6a097da5c128347ef7bd0b2abe53a8ca65cbc847ec1190c8b";
15 };
16
17 propagatedBuildInputs = [
18 aiohttp
19 requests
20 ];
21
22 # Project has no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "sharkiq" ];
26
27 meta = with lib; {
28 description = "Python API for Shark IQ robots";
29 homepage = "https://github.com/JeffResc/sharkiq";
30 license = licenses.mit;
31 maintainers = with maintainers; [ fab ];
32 };
33}