nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "iammeter";
9 version = "0.2.1";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-Q0o392Xf3cY5BkX4ic6pE3XKMSgek5cpW4TMqSh+Ew8=";
15 };
16
17 # Module has no tests
18 doCheck = false;
19
20 pythonImportsCheck = [ "iammeter" ];
21
22 meta = {
23 description = "Module to work with the IamMeter API";
24 homepage = "https://pypi.org/project/iammeter/";
25 license = with lib.licenses; [ mit ];
26 maintainers = with lib.maintainers; [ fab ];
27 };
28}