evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / rkm-codes / default.nix
blob9fa267fa4b7d6d081d3703afd83eed530e932100
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "rkm-codes";
11   version = "0.6";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "KenKundert";
16     repo = "rkm_codes";
17     rev = "refs/tags/v${version}";
18     hash = "sha256-CkLLZuWcNL8sqAupc7lHXu0DXUXrX3qwd1g/ekyHdw4=";
19   };
21   nativeBuildInputs = [ flit-core ];
23   propagatedBuildInputs = [ setuptools ];
25   # this has a circular dependency on quantiphy
26   preBuild = ''
27     sed -i '/quantiphy/d' pyproject.toml
28   '';
30   # this import check will fail as quantiphy is imported by this package
31   # pythonImportsCheck = [ "rkm_codes" ];
33   # tests require quantiphy import
34   doCheck = false;
36   meta = with lib; {
37     description = "QuantiPhy support for RKM codes";
38     homepage = "https://github.com/kenkundert/rkm_codes/";
39     license = licenses.gpl3Plus;
40     maintainers = with maintainers; [ jpetrucciani ];
41   };