nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6}:
7
8buildPythonPackage rec {
9 pname = "wiffi";
10 version = "1.1.2";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "mampfes";
15 repo = "python-wiffi";
16 tag = version;
17 hash = "sha256-pnbzJxq8K947Yg54LysPPho6IRKf0cc+szTETgyzFao=";
18 };
19
20 propagatedBuildInputs = [ aiohttp ];
21
22 # Project has no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "wiffi" ];
26
27 meta = {
28 description = "Python module to interface with STALL WIFFI devices";
29 homepage = "https://github.com/mampfes/python-wiffi";
30 changelog = "https://github.com/mampfes/python-wiffi/blob/${version}/HISTORY.md";
31 license = with lib.licenses; [ mit ];
32 maintainers = with lib.maintainers; [ fab ];
33 };
34}