12 buildPythonPackage rec {
13 pname = "snap-helpers";
18 src = fetchFromGitHub {
19 owner = "albertodonato";
20 repo = "snap-helpers";
21 rev = "refs/tags/${version}";
22 hash = "sha256-7JBvrD4WNOcFSVx3xauk4JgiVGKWuUEdUMRlH7mudE4=";
25 nativeBuildInputs = [ setuptools ];
27 propagatedBuildInputs = [ pyyaml ];
29 pythonImportsCheck = [ "snaphelpers" ];
36 passthru.updateScript = nix-update-script { };
39 description = "Interact with snap configuration and properties from inside a snap";
40 homepage = "https://github.com/albertodonato/snap-helpers";
41 changelog = "https://github.com/albertodonato/snap-helpers/releases/tag/${version}";
42 license = lib.licenses.lgpl3Only;
43 maintainers = with lib.maintainers; [ jnsgruk ];
44 platforms = lib.platforms.linux;