diff --git a/pkgs/default.nix b/pkgs/default.nix index 611eb11..aa651b9 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -21,6 +21,7 @@ in epicscorelibs = final.callPackage ./epnix/python-modules/epicscorelibs {}; pvxslibs = final.callPackage ./epnix/python-modules/pvxslibs {}; aioca = final.callPackage ./epnix/python-modules/aioca/default.nix {}; + epicsdbbuilder = final.callPackage ./epnix/python-modules/epicsdbbuilder {}; # epicscorelibs needs at least 2.11. # TODO: remove for NixOS 24.11 diff --git a/pkgs/epnix/python-modules/epicsdbbuilder/default.nix b/pkgs/epnix/python-modules/epicsdbbuilder/default.nix new file mode 100644 index 0000000..fe6b5d4 --- /dev/null +++ b/pkgs/epnix/python-modules/epicsdbbuilder/default.nix @@ -0,0 +1,24 @@ +{ + buildPythonPackage, + fetchFromGitHub, + lib, + epnixLib, +}: +buildPythonPackage rec { + pname = "epicsdbbuilder"; + version = "1.5"; + + src = fetchFromGitHub { + owner = "DiamondLightSource"; + repo = pname; + rev = version; + hash = "sha256-H+8dJY6nY/4ogxcoZVmZzI7STI4x0urQKddlTifAqGQ="; + }; + + meta = { + description = "Tool for building EPICS databases"; + homepage = "https://DiamondLightSource.github.io/epicsdbbuilder"; + license = lib.licenses.asl20; + maintainers = with epnixLib.maintainers; [synthetica]; + }; +}