blob: 4426d2eb261b2c8965f26dfec88b91b7b513c1b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
setuptools,
}:
buildPythonPackage rec {
pname = "rkm-codes";
version = "1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "KenKundert";
repo = "rkm_codes";
tag = "v${version}";
hash = "sha256-S1ng2eTR+dNg7TkkpLTtJvX105FOqCi2eiMdRaqQrVg=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ setuptools ];
# this has a circular dependency on quantiphy
preBuild = ''
sed -i '/quantiphy/d' pyproject.toml
'';
# this import check will fail as quantiphy is imported by this package
# pythonImportsCheck = [ "rkm_codes" ];
# tests require quantiphy import
doCheck = false;
meta = {
description = "QuantiPhy support for RKM codes";
homepage = "https://github.com/kenkundert/rkm_codes/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jpetrucciani ];
};
}
|