1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-02 22:10:08 +03:00
nixpkgs/pkgs/development/python-modules/js2py/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
775 B
Nix
Raw Normal View History

2022-07-30 12:48:52 +02:00
{ lib
, fetchFromGitHub
, buildPythonPackage
, tzlocal
, six
, pyjsparser
}:
buildPythonPackage rec {
pname = "js2py";
version = "0.71";
src = fetchFromGitHub {
owner = "PiotrDabkowski";
repo = "Js2Py";
rev = "5f665f60083a9796ec33861240ce31d6d2b844b6";
sha256 = "sha256-1omTV7zkYSQfxhkNgI4gtXTenWt9J1r3VARRHoRsSfc=";
};
propagatedBuildInputs = [
pyjsparser
six
tzlocal
];
# Test require network connection
doCheck = false;
pythonImportsCheck = [ "js2py" ];
meta = with lib; {
description = "JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python";
homepage = "https://github.com/PiotrDabkowski/Js2Py";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}