12 buildPythonPackage rec {
13 pname = "single-source";
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
21 repo = "single-source";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-4l9ochlscQoWJVkYN8Iq2DsiU7qoOf7nUFYgBOebK/g=";
26 build-system = [ poetry-core ];
34 pythonImportsCheck = [ "single_source" ];
37 description = "Access to the project version in Python code for PEP 621-style projects";
38 homepage = "https://github.com/rabbit72/single-source";
39 changelog = "https://github.com/rabbit72/single-source/releases/tag/v${version}";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ nickcao ];