Loading pkgs/by-name/sl/slobdict/package.nix +24 −2 Original line number Diff line number Diff line { lib, stdenv, blueprint-compiler, meson, ninja, Loading @@ -17,7 +18,7 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "slobdict"; version = "1.0.0"; version = "1.2.0"; pyproject = false; # built with meson Loading @@ -25,11 +26,12 @@ python3Packages.buildPythonApplication (finalAttrs: { owner = "MuntashirAkon"; repo = "SlobDict"; tag = finalAttrs.version; hash = "sha256-V6EmEpxUMZUN9lHSNs4nZBZI2QNxUUWWODukm01lYxY="; hash = "sha256-4u0VqaPDpyflWkN119IOVqKxpsskou3ou1dqpuRSaHI="; }; nativeBuildInputs = [ blueprint-compiler glib gobject-introspection meson ninja Loading Loading @@ -62,13 +64,28 @@ python3Packages.buildPythonApplication (finalAttrs: { pymorphy3 # python-romkan-ng not packaged xxhash # Deps for cli mode pygments rich premailer cssutils markdownify ]; # Prevent double wrapping, let the Python wrapper use the args in preFixup. dontWrapGApps = true; postBuild = '' glib-compile-schemas --strict ../gnome-extension/slobdict@muntashir.dev/schemas ''; postInstall = '' chmod +x $out/bin/slobdict mkdir -p $out/share/gnome-shell/extensions/slobdict@muntashir.dev cp -r ../gnome-extension/slobdict@muntashir.dev/schemas $out/share/gnome-shell/extensions/slobdict@muntashir.dev cp ../gnome-extension/slobdict@muntashir.dev/{extension.js,metadata.json} $out/share/gnome-shell/extensions/slobdict@muntashir.dev ''; preFixup = '' Loading @@ -77,6 +94,11 @@ python3Packages.buildPythonApplication (finalAttrs: { strictDeps = true; passthru = { extensionPortalSlug = "slobdict"; extensionUuid = "slobdict@muntashir.dev"; }; meta = { homepage = "https://github.com/MuntashirAkon/SlobDict"; description = "Modern, lightweight GTK 4 dictionary app"; Loading pkgs/development/python-modules/premailer/default.nix 0 → 100644 +44 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, setuptools, lxml, cssselect, cssutils, requests, cachetools, lib, }: buildPythonPackage { pname = "premailer"; version = "3.10.0"; pyproject = true; src = fetchFromGitHub { owner = "peterbe"; repo = "premailer"; rev = "f4ded0b9701c4985e7ff5c5beda83324c264ea62"; hash = "sha256-8ALdpR3aIDg0wP+JYCPY1f7mEJgdJm8xlLlgGpa0Sa4="; }; build-system = [ setuptools ]; dependencies = [ lxml cssselect cssutils requests cachetools ]; pythonImportsCheck = [ "premailer" ]; meta = { changelog = "https://github.com/peterbe/premailer/blob/master/CHANGES.rst"; description = "Turns CSS blocks into style attributes"; homepage = "https://github.com/peterbe/premailer"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.linsui ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12787,6 +12787,8 @@ self: super: with self; { preggy = callPackage ../development/python-modules/preggy { }; premailer = callPackage ../development/python-modules/premailer { }; preprocess-cancellation = callPackage ../development/python-modules/preprocess-cancellation { }; presenterm-export = callPackage ../development/python-modules/presenterm-export { }; Loading Loading
pkgs/by-name/sl/slobdict/package.nix +24 −2 Original line number Diff line number Diff line { lib, stdenv, blueprint-compiler, meson, ninja, Loading @@ -17,7 +18,7 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "slobdict"; version = "1.0.0"; version = "1.2.0"; pyproject = false; # built with meson Loading @@ -25,11 +26,12 @@ python3Packages.buildPythonApplication (finalAttrs: { owner = "MuntashirAkon"; repo = "SlobDict"; tag = finalAttrs.version; hash = "sha256-V6EmEpxUMZUN9lHSNs4nZBZI2QNxUUWWODukm01lYxY="; hash = "sha256-4u0VqaPDpyflWkN119IOVqKxpsskou3ou1dqpuRSaHI="; }; nativeBuildInputs = [ blueprint-compiler glib gobject-introspection meson ninja Loading Loading @@ -62,13 +64,28 @@ python3Packages.buildPythonApplication (finalAttrs: { pymorphy3 # python-romkan-ng not packaged xxhash # Deps for cli mode pygments rich premailer cssutils markdownify ]; # Prevent double wrapping, let the Python wrapper use the args in preFixup. dontWrapGApps = true; postBuild = '' glib-compile-schemas --strict ../gnome-extension/slobdict@muntashir.dev/schemas ''; postInstall = '' chmod +x $out/bin/slobdict mkdir -p $out/share/gnome-shell/extensions/slobdict@muntashir.dev cp -r ../gnome-extension/slobdict@muntashir.dev/schemas $out/share/gnome-shell/extensions/slobdict@muntashir.dev cp ../gnome-extension/slobdict@muntashir.dev/{extension.js,metadata.json} $out/share/gnome-shell/extensions/slobdict@muntashir.dev ''; preFixup = '' Loading @@ -77,6 +94,11 @@ python3Packages.buildPythonApplication (finalAttrs: { strictDeps = true; passthru = { extensionPortalSlug = "slobdict"; extensionUuid = "slobdict@muntashir.dev"; }; meta = { homepage = "https://github.com/MuntashirAkon/SlobDict"; description = "Modern, lightweight GTK 4 dictionary app"; Loading
pkgs/development/python-modules/premailer/default.nix 0 → 100644 +44 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, setuptools, lxml, cssselect, cssutils, requests, cachetools, lib, }: buildPythonPackage { pname = "premailer"; version = "3.10.0"; pyproject = true; src = fetchFromGitHub { owner = "peterbe"; repo = "premailer"; rev = "f4ded0b9701c4985e7ff5c5beda83324c264ea62"; hash = "sha256-8ALdpR3aIDg0wP+JYCPY1f7mEJgdJm8xlLlgGpa0Sa4="; }; build-system = [ setuptools ]; dependencies = [ lxml cssselect cssutils requests cachetools ]; pythonImportsCheck = [ "premailer" ]; meta = { changelog = "https://github.com/peterbe/premailer/blob/master/CHANGES.rst"; description = "Turns CSS blocks into style attributes"; homepage = "https://github.com/peterbe/premailer"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.linsui ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12787,6 +12787,8 @@ self: super: with self; { preggy = callPackage ../development/python-modules/preggy { }; premailer = callPackage ../development/python-modules/premailer { }; preprocess-cancellation = callPackage ../development/python-modules/preprocess-cancellation { }; presenterm-export = callPackage ../development/python-modules/presenterm-export { }; Loading