python3Packages.pure-eval: init at 0.1.0
This commit is contained in:
parent
f210992c92
commit
c9bc95d613
27
pkgs/development/python-modules/pure-eval/default.nix
Normal file
27
pkgs/development/python-modules/pure-eval/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, setuptools_scm, toml, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pure_eval";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexmojaki";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1d3gpc9mrmwdk6l87x7ll23vwv6l8l2iqvi63r86j7bj5s8m2ci8";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ toml ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Safely evaluate AST nodes without side effects";
|
||||
homepage = "http://github.com/alexmojaki/pure_eval";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
}
|
|
@ -1164,6 +1164,8 @@ in {
|
|||
|
||||
pure-python-adb-homeassistant = callPackage ../development/python-modules/pure-python-adb-homeassistant { };
|
||||
|
||||
pure-eval = callPackage ../development/python-modules/pure-eval {};
|
||||
|
||||
purl = callPackage ../development/python-modules/purl { };
|
||||
|
||||
pyclipper = callPackage ../development/python-modules/pyclipper { };
|
||||
|
|
Loading…
Reference in a new issue