nixpkgs/pkgs/development/python-modules/simpleeval/default.nix

18 lines
522 B
Nix
Raw Normal View History

2017-02-20 20:14:01 +01:00
{ lib, fetchurl, buildPythonPackage }:
buildPythonPackage rec {
pname = "simpleeval";
name = "${pname}-${version}";
2017-02-20 20:14:01 +01:00
version = "0.9.5";
src = fetchurl {
url = "mirror://pypi/s/simpleeval/${name}.tar.gz";
sha256 = "0sda13bqg9l4j17iczmfanxbzsg6fm9aw8i3crzsjfxx51rwj1i3";
};
meta = {
homepage = https://github.com/danthedeckie/simpleeval;
2017-02-20 20:14:01 +01:00
description = "A simple, safe single expression evaluator library";
maintainers = with lib.maintainers; [ johbo ];
license = lib.licenses.mit;
};
}