diff options
author | samlich <1349989+samlich@users.noreply.github.com> | 2020-01-25 19:58:36 +0000 |
---|---|---|
committer | samlich <1349989+samlich@users.noreply.github.com> | 2020-01-25 19:58:36 +0000 |
commit | 337662855748ebd4f8dbc05c54ca797aa36934e4 (patch) | |
tree | a39f060fb970a47a3f3cdd46f1c4750ac46d1256 | |
parent | 77317774ce91f6e6aedcfa62ec7c9c2e30d4d5c0 (diff) |
pymol: cleanup
-rw-r--r-- | pkgs/applications/science/chemistry/pymol/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/science/chemistry/pymol/default.nix b/pkgs/applications/science/chemistry/pymol/default.nix index a0e1fa5a3aef..e8b3b23ddd9d 100644 --- a/pkgs/applications/science/chemistry/pymol/default.nix +++ b/pkgs/applications/science/chemistry/pymol/default.nix @@ -29,7 +29,8 @@ python3Packages.buildPythonApplication rec { }; buildInputs = [ python3Packages.numpy glew glm freeglut libpng libxml2 tk freetype msgpack ]; - NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2 -Wno-error=format-security"; + NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2"; + hardeningDisable = [ "format" ]; setupPyBuildFlags = [ "--glut" ]; @@ -47,10 +48,10 @@ python3Packages.buildPythonApplication rec { cp -r "${desktopItem}/share/applications/" "$out/share/" ''; - meta = { + meta = with lib; { description = description; homepage = https://www.pymol.org/; - license = lib.licenses.psfl; - maintainers = with lib.maintainers; [ samlich ]; + license = licenses.mit; + maintainers = with maintainers; [ samlich ]; }; } |