nixpkgs/pkgs/development/python-modules/simpleeval/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

18 lines
524 B
Nix

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