Loading pkgs/development/python-modules/minify-html/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchPypi, lib, rustPlatform, }: buildPythonPackage rec { pname = "minify-html"; version = "0.15.0"; pyproject = true; # Fetching from Pypi, because there is no Cargo.lock in the GitHub repo. src = fetchPypi { inherit version; pname = "minify_html"; hash = "sha256-z0w2tvmvOwkBvSoKKds7CcDN8MONPd4o5oNbzg9gXTc="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; name = "${pname}-${version}"; hash = "sha256-f93gKKQRkjxQJ49EK/0UI+BzFEa6iSfDX/0gNysSDmc="; }; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; pythonImportsCheck = [ "minify_html" ]; meta = { description = "Extremely fast and smart HTML + JS + CSS minifier"; homepage = "https://github.com/wilsonzlin/minify-html/tree/master/minify-html-python"; changelog = "https://github.com/wilsonzlin/minify-html/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = lib.teams.apm.members; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -8413,6 +8413,8 @@ self: super: with self; { miniful = callPackage ../development/python-modules/miniful { }; minify-html = callPackage ../development/python-modules/minify-html { }; minikanren = callPackage ../development/python-modules/minikanren { }; minikerberos = callPackage ../development/python-modules/minikerberos { }; Loading Loading
pkgs/development/python-modules/minify-html/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchPypi, lib, rustPlatform, }: buildPythonPackage rec { pname = "minify-html"; version = "0.15.0"; pyproject = true; # Fetching from Pypi, because there is no Cargo.lock in the GitHub repo. src = fetchPypi { inherit version; pname = "minify_html"; hash = "sha256-z0w2tvmvOwkBvSoKKds7CcDN8MONPd4o5oNbzg9gXTc="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; name = "${pname}-${version}"; hash = "sha256-f93gKKQRkjxQJ49EK/0UI+BzFEa6iSfDX/0gNysSDmc="; }; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; pythonImportsCheck = [ "minify_html" ]; meta = { description = "Extremely fast and smart HTML + JS + CSS minifier"; homepage = "https://github.com/wilsonzlin/minify-html/tree/master/minify-html-python"; changelog = "https://github.com/wilsonzlin/minify-html/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = lib.teams.apm.members; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -8413,6 +8413,8 @@ self: super: with self; { miniful = callPackage ../development/python-modules/miniful { }; minify-html = callPackage ../development/python-modules/minify-html { }; minikanren = callPackage ../development/python-modules/minikanren { }; minikerberos = callPackage ../development/python-modules/minikerberos { }; Loading