summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pscript
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien@users.noreply.github.com>2023-01-29 17:48:02 +0000
committerGitHub <noreply@github.com>2023-01-29 17:48:02 +0000
commit2be9646b90944cbf0ffd5a96023b9d370c2949ab (patch)
tree193d12be41ce6154ff281d7cbf03dc80acde060e /pkgs/development/python-modules/pscript
parent5b948ac10f8632c5f6274cfa6ae947fa431ee131 (diff)
parent42eaaafa63c963161f3210fa6c873d80886af254 (diff)
Merge pull request #210850 from matthiasbeyer/update-python-pscript
python3Packages.pscript: 0.7.6 -> 0.7.7
Diffstat (limited to 'pkgs/development/python-modules/pscript')
-rw-r--r--pkgs/development/python-modules/pscript/default.nix23
1 files changed, 14 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/pscript/default.nix b/pkgs/development/python-modules/pscript/default.nix
index 54fcdeb81668..76af30e2c125 100644
--- a/pkgs/development/python-modules/pscript/default.nix
+++ b/pkgs/development/python-modules/pscript/default.nix
@@ -3,18 +3,21 @@
, fetchFromGitHub
, pytestCheckHook
, nodejs
+, pythonOlder
}:
buildPythonPackage rec {
pname = "pscript";
- version = "0.7.6";
+ version = "0.7.7";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
- # PyPI tarball doesn't include tests directory
src = fetchFromGitHub {
owner = "flexxui";
repo = pname;
- rev = "v${version}";
- sha256 = "169px5n4jjnpdn9y86f28qwd95bwf1q1rz0a1h3lb5nn5c6ym8c4";
+ rev = "refs/tags/v${version}";
+ hash = "sha256-AhVI+7FiWyH+DfAXnau4aAHJAJtsWEpmnU90ey2z35o=";
};
nativeCheckInputs = [
@@ -27,13 +30,15 @@ buildPythonPackage rec {
rm -rf pscript_legacy
'';
+ pythonImportsCheck = [
+ "pscript"
+ ];
+
meta = with lib; {
description = "Python to JavaScript compiler";
- license = licenses.bsd2;
homepage = "https://pscript.readthedocs.io";
- maintainers = [ maintainers.matthiasbeyer ];
+ changelog = "https://github.com/flexxui/pscript/blob/v${version}/docs/releasenotes.rst";
+ license = licenses.bsd2;
+ maintainers = with maintainers; [ matthiasbeyer ];
};
}
-
-
-